]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 12 Oct 2007 16:35:15 +0000 (16:35 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 12 Oct 2007 16:35:15 +0000 (16:35 +0000)
(func_mode_execute): Also restore `LANGUAGE', for old glibc.
Report by Paul Eggert against Autoconf.

ChangeLog
libltdl/config/ltmain.m4sh

index 345d31bdae7e1f03068ffafe91883ab4a0e39b00..b3a2868d3b884907cd14374bfebdf7ad4025e92a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
+       (func_mode_execute): Also restore `LANGUAGE', for old glibc.
+       Report by Paul Eggert against Autoconf.
+
 2007-10-11  Eric Blake  <ebb9@byu.net>
 
        * libltdl/.cvsignore: Ignore argz.h.
index ef82aa3842a810c5e4aea0a3797db2a9acd31f68..dc32aaee8887d94df540d7c7e9dde9a451723e1e 100644 (file)
@@ -96,7 +96,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
 # Only set LANG and LC_ALL to C if already set.
 # These must not be set unconditionally because not all systems understand
 # e.g. LANG=C (notably SCO).
-for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
 do
   eval "if test \"\${$lt_var+set}\" = set; then
           save_$lt_var=\$$lt_var
@@ -1714,7 +1714,7 @@ func_mode_execute ()
       fi
 
       # Restore saved environment variables
-      for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
       do
        eval "if test \"\${save_$lt_var+set}\" = set; then
                 $lt_var=\$save_$lt_var; export $lt_var