diff -Nur autoconf-2.53.orig/configure autoconf-2.53/configure --- autoconf-2.53.orig/configure Fri Mar 8 14:09:59 2002 +++ autoconf-2.53/configure Sat Mar 16 13:12:23 2002 @@ -1312,7 +1312,7 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi -for ac_prog in gawk mawk nawk awk +for ac_prog in mawk gawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 diff -Nur autoconf-2.53.orig/lib/autoconf/programs.m4 autoconf-2.53/lib/autoconf/programs.m4 --- autoconf-2.53.orig/lib/autoconf/programs.m4 Mon Mar 4 15:34:20 2002 +++ autoconf-2.53/lib/autoconf/programs.m4 Sat Mar 16 13:11:53 2002 @@ -258,7 +258,7 @@ # Check for gawk first since it's generally better. AC_DEFUN([AC_PROG_AWK], -[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )]) +[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )]) # AC_PROG_INSTALL --- autoconf-2.65/doc/autoconf.texi.orig 2009-11-05 03:42:15.000000000 +0100 +++ autoconf-2.65/doc/autoconf.texi 2010-02-21 17:00:33.323563596 +0100 @@ -3870,10 +3870,10 @@ @acindex{PROG_AWK} @ovindex AWK @caindex prog_AWK -Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that +Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that order, and set output variable @code{AWK} to the first one that is found. -It tries @code{gawk} first because that is reported to be the -best implementation. The result can be overridden by setting the +It tries @code{mawk} first because that is reported to be the +implementation that our system usually runs. The result can be overridden by setting the variable @code{AWK} or the cache variable @code{ac_cv_prog_AWK}. @end defmac