summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2004-08-14 06:35:30 +0000
committerCarl Worth <cworth@cworth.org>2004-08-14 06:35:30 +0000
commitadabb18408157299940413a80a6c943de96296d5 (patch)
tree1d6d0202afca827f4b20ed938e94f0b4428c404a /autogen.sh
parent62e4b869cd17c2fd5103d9e61656a4451624f6b9 (diff)
Explicitly set LANG=C to fix the awk string->number conversion for user with locales that don't match ASCII digit conventions.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 4de364a1..d365a92b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,5 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-
set -e
PACKAGE=cairo
@@ -20,6 +19,8 @@ aclocal_min_vers=$automake_min_vers
autoconf_min_vers=2.54
libtoolize_min_vers=1.4
+# The awk-based string->number conversion we use needs a C locale to work as expected.
+LANG=C
ARGV0=$0