summaryrefslogblamecommitdiffstats
path: root/libusb-1.0/libtool-nls.diff
blob: d41b733b8f2b6439283f3ef4073d506077a4ab11 (plain) (tree)





















                                                                           
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -105,9 +105,6 @@ _LTECHO_EOF'
 }
 
 # NLS nuisances: We save the old values to restore during execute mode.
-# 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).
 lt_user_locale=
 lt_safe_locale=
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
@@ -120,6 +117,9 @@ do
 	  lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
 	fi"
 done
+LC_ALL=C
+LANGUAGE=C
+export LANGUAGE LC_ALL
 
 $lt_unset CDPATH