]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Formerly autoconf.sh.~17~
authorNoah Friedman <friedman@splode.com>
Thu, 24 Jun 1993 19:57:01 +0000 (19:57 +0000)
committerNoah Friedman <friedman@splode.com>
Thu, 24 Jun 1993 19:57:01 +0000 (19:57 +0000)
autoconf.in
autoconf.sh
bin/autoconf.in

index 742a074cf8af23a24276763ef4e5c453a4d547fd..74b2014ecc4e77759e92a8807182db4074f44007 100644 (file)
 # With one arg, create a configure script on standard output from
 # the given template file.
 
-# NLS nuisances.
-LANG=C; LC_ALL=C; export LANG; export LC_ALL;
-
 usage="Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] 
                 [-v] [--version] [template-file]" 
 
+# NLS nuisances.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
+if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
+
 test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
 test -z "${M4}" && M4=@M4@
 
index 742a074cf8af23a24276763ef4e5c453a4d547fd..74b2014ecc4e77759e92a8807182db4074f44007 100644 (file)
 # With one arg, create a configure script on standard output from
 # the given template file.
 
-# NLS nuisances.
-LANG=C; LC_ALL=C; export LANG; export LC_ALL;
-
 usage="Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] 
                 [-v] [--version] [template-file]" 
 
+# NLS nuisances.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
+if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
+
 test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
 test -z "${M4}" && M4=@M4@
 
index 742a074cf8af23a24276763ef4e5c453a4d547fd..74b2014ecc4e77759e92a8807182db4074f44007 100644 (file)
 # With one arg, create a configure script on standard output from
 # the given template file.
 
-# NLS nuisances.
-LANG=C; LC_ALL=C; export LANG; export LC_ALL;
-
 usage="Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] 
                 [-v] [--version] [template-file]" 
 
+# NLS nuisances.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
+if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
+
 test -z "${AC_MACRODIR}" && AC_MACRODIR=@datadir@
 test -z "${M4}" && M4=@M4@