--- autoconf-2.50/doc/autoconf.texi.mawk Tue May 22 15:33:52 2001 +++ autoconf-2.50/doc/autoconf.texi Tue May 22 15:36:55 2001 @@ -2833,10 +2833,10 @@ @defmac AC_PROG_AWK @maindex PROG_AWK @ovindex AWK -Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that +Check for @code{awk}, @code{mawk}, @code{gawk}, and @code{nawk}, in that order, and set output variable @code{AWK} to the first one that is found. -It tries @code{mawk} first because that is reported to be the -fastest implementation. +It tries @code{awk} first because that is reported to be the +implementation that our system usually runs. @end defmac --- autoconf-2.50/acspecific.m4.mawk Tue May 22 15:33:36 2001 +++ autoconf-2.50/acspecific.m4 Tue May 22 15:35:43 2001 @@ -113,9 +113,9 @@ [AC_CHECK_TOOL(RANLIB, ranlib, :)]) -# Check for mawk first since it's generally faster. +# Check for awk first since it's generally the one we would like to use :) AC_DEFUN([AC_PROG_AWK], -[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )]) +[AC_CHECK_PROGS(AWK, awk mawk gawk nawk, )]) # AC_PROG_YACC --- autoconf-2.50/configure.mawk Tue May 22 15:34:06 2001 +++ autoconf-2.50/configure Tue May 22 15:34:47 2001 @@ -1267,7 +1267,7 @@ # a AC-SUBST inside AC-PROG-GNU-M4. Grmph! # `autoconf' and `ifnames' use AWK. -for ac_prog in mawk gawk nawk awk +for ac_prog in awk mawk gawk nawk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2