fi
-for ac_prog in gawk mawk nawk awk
-+for ac_prog in awk mawk gawk nawk
++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
@acindex PROG_AWK
@ovindex AWK
-Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
-+Check for @code{awk}, @code{mawk}, @code{gawk}, and @code{nawk}, 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.
-+It tries @code{awk} first because that is reported to be the
++It tries @code{mawk} first because that is reported to be the
+implementation that our system usually runs.
@end defmac
# 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, awk mawk gawk nawk, )])
++[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
# AC_PROG_INSTALL