[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mawk gawk nawk awk
From: |
John Poltorak |
Subject: |
Re: mawk gawk nawk awk |
Date: |
Mon, 8 Oct 2001 22:03:05 +0100 |
On Fri, Oct 05, 2001 at 10:19:41AM -0700, Paul Eggert wrote:
> > From: John Poltorak <address@hidden>
> > 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