autoconf-2.13-mawk
authorAnas Nashif <anas.nashif@intel.com>
Sun, 18 Nov 2012 15:40:22 +0000 (07:40 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sun, 18 Nov 2012 15:40:22 +0000 (07:40 -0800)
acspecific.m4
autoconf.texi
configure

index 5c6f1c9..8609f07 100644 (file)
@@ -479,9 +479,9 @@ AC_SUBST([SET_MAKE])dnl
 AC_DEFUN(AC_PROG_RANLIB,
 [AC_CHECK_PROG(RANLIB, ranlib, ranlib, :)])
 
-dnl Check for mawk first since it's generally faster.
+dnl Don't check for mawk first even if it's generally faster.
 AC_DEFUN(AC_PROG_AWK,
-[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
+[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
 
 AC_DEFUN(AC_PROG_YACC,
 [AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)])
index 22a2ccd..fd854b6 100644 (file)
@@ -1535,10 +1535,10 @@ according to whether @code{lex} or @code{flex} is being used.
 @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{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
 order, and set output variable @code{AWK} to the first one that it
-finds.  It tries @code{mawk} first because that is reported to be the
-fastest implementation.
+finds.  It tries @code{gawk} first because that is reported to be the
+best implementation.
 @end defmac
 
 @defmac AC_PROG_CC
index 7c2ad02..58c723d 100755 (executable)
--- a/configure
+++ b/configure
@@ -583,7 +583,7 @@ test -n "$M4" && break
 done
 test -n "$M4" || M4="m4"
 
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk 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