From 683145e483896c547e1d15c0349adcadacd351e5 Mon Sep 17 00:00:00 2001 From: Noah Friedman Date: Thu, 24 Jun 1993 19:57:01 +0000 Subject: [PATCH] Formerly autoconf.sh.~17~ --- autoconf.in | 9 ++++++--- autoconf.sh | 9 ++++++--- bin/autoconf.in | 9 ++++++--- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/autoconf.in b/autoconf.in index 742a074c..74b2014e 100644 --- a/autoconf.in +++ b/autoconf.in @@ -20,12 +20,15 @@ # 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@ diff --git a/autoconf.sh b/autoconf.sh index 742a074c..74b2014e 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -20,12 +20,15 @@ # 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@ diff --git a/bin/autoconf.in b/bin/autoconf.in index 742a074c..74b2014e 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -20,12 +20,15 @@ # 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@