summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLeif Middelschulte <leif.middelschulte@gmail.com>2013-01-15 15:53:49 +0000
committerLeif Middelschulte <leif.middelschulte@gmail.com>2013-01-15 15:53:49 +0000
commitea35317988e2d95fb390514bce7ec9d661d44ee4 (patch)
treecaeaa5df9d23f58bd0c6fdf0cb3c6f92d1c343ce /configure.ac
parentd7b54313ad9cafb81793993c24c5d36fd70589a1 (diff)
Prepend svnversion command with LC_ALL=C so the subsequent grep works with non-english locales too.
Anybody who has the entire trunk and branches around is welcome to apply an analogue patches to it. SVN revision: 82821
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 39c307bae..8d207f7bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [7]) 4m4_define([v_min], [7])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [99])
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'])) 6m4_define([v_rev], m4_esyscmd([(LC_ALL=C 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])