From: Miles Bader Date: Fri, 24 Nov 1995 22:36:37 +0000 (+0000) Subject: Define $AWK from the subst @AWK@, and use it, instead of just `awk'. X-Git-Tag: fsf-origin~232 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90742cf4667887fd2810805893182b8496ab59ef;p=thirdparty%2Fautoconf.git Define $AWK from the subst @AWK@, and use it, instead of just `awk'. --- diff --git a/autoconf.in b/autoconf.in index 5e136c137..489420223 100644 --- a/autoconf.in +++ b/autoconf.in @@ -33,6 +33,7 @@ if test "${LANG+set}" = set; then LANG=C; export LANG; fi : ${AC_MACRODIR=@datadir@} : ${M4=@M4@} +: ${AWK=@AWK@} case "${M4}" in /*) # Handle the case that m4 has moved since we were configured. # It may have been found originally in a build directory. @@ -141,7 +142,7 @@ else fi # Put the real line numbers into configure to make config.log more helpful. -awk ' +$AWK ' /__oline__/ { printf "%d:", NR + 1 } { print } ' $tmpout | sed ' diff --git a/autoconf.sh b/autoconf.sh index 5e136c137..489420223 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -33,6 +33,7 @@ if test "${LANG+set}" = set; then LANG=C; export LANG; fi : ${AC_MACRODIR=@datadir@} : ${M4=@M4@} +: ${AWK=@AWK@} case "${M4}" in /*) # Handle the case that m4 has moved since we were configured. # It may have been found originally in a build directory. @@ -141,7 +142,7 @@ else fi # Put the real line numbers into configure to make config.log more helpful. -awk ' +$AWK ' /__oline__/ { printf "%d:", NR + 1 } { print } ' $tmpout | sed ' diff --git a/bin/autoconf.in b/bin/autoconf.in index 5e136c137..489420223 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -33,6 +33,7 @@ if test "${LANG+set}" = set; then LANG=C; export LANG; fi : ${AC_MACRODIR=@datadir@} : ${M4=@M4@} +: ${AWK=@AWK@} case "${M4}" in /*) # Handle the case that m4 has moved since we were configured. # It may have been found originally in a build directory. @@ -141,7 +142,7 @@ else fi # Put the real line numbers into configure to make config.log more helpful. -awk ' +$AWK ' /__oline__/ { printf "%d:", NR + 1 } { print } ' $tmpout | sed '