summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-12-13 08:52:47 +0000
committerTom Hacohen <tom@stosb.com>2011-12-13 08:52:47 +0000
commitef907a08edf0d4d751e9e4a77aa3a3b7c0574c6b (patch)
treed3220257446299697b4a37b226a75ffc84442ff2 /configure.ac
parent9e45a81d20b1dbe17366b693b7fe48e9538fdd94 (diff)
elementary: Fixed svn detection for svn1.7
SVN revision: 66146
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index de5d483bf..7a496a1b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
3m4_define([v_maj], [0]) 3m4_define([v_maj], [0])
4m4_define([v_min], [8]) 4m4_define([v_min], [8])
5m4_define([v_mic], [0]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9dnl m4_undefine([v_rev])