On Fri, Oct 05, 2001 at 10:19:41AM -0700, Paul Eggert wrote: > > From: John Poltorak <[EMAIL PROTECTED]> > > Date: Fri, 5 Oct 2001 11:51:30 +0100 > > > > Just wondered why Autoconf insists on looking for gawk and ignores awk, > > unless $AWK is set... > > It doesn't ignore 'awk'; it just prefers 'gawk' if there is one.
I have just re-installed Autoconf v2.50 without GAWK on the PATH and no AWK variable set. When attempting to build SED, autoconf complains with:- autoconf.[753]: gawk: not found I'm not not hot when it comes to shell scripts, but this where AWK seems to be evaluated:- # Variables. : ${autoconf_dir=${AC_MACRODIR=u:/usr/local/share/autoconf}} test -z "$AC_ACLOCALDIR" && AC_ACLOCALDIR=`(aclocal --print-ac-dir) 2>/dev/null` : ${AWK=gawk} debug=false -- John