diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-08-22 08:33:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@redhat.com> | 2005-08-22 08:33:54 +0000 |
commit | b217f95fa0b8b818cbed8630c16fe8725f430c49 (patch) | |
tree | 9980b17b046bcb97d1d6826bbf123448dae0ecc0 /autogen.sh | |
parent | fdb5e2aa473a83cda9a3ecfab2fa47cdf40ffe65 (diff) |
Set LC_ALL=C rather than LANG and LC_NUMERIC to be robust against whatever settings the user has. (Martin Dobias)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh index bd6f49da2..88ad4f74b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,9 +17,10 @@ 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 -LC_NUMERIC=C +# The awk-based string->number conversion we use needs a C locale to work +# as expected. Setting LC_ALL overrides whether the user set LC_ALL, +# LC_NUMERIC, or LANG. +LC_ALL=C ARGV0=$0 |