summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-18 07:40:22 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-18 07:40:22 -0800
commitaa845cf5e040864ad62d96e31ae04bfcc2594431 (patch)
treec6a626cb144609e02eb75bc01245477a81c1aaaa
parent39d099488e39650c06f60ac3a5ed2e0bd5d0be5f (diff)
downloadautoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.tar.gz
autoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.tar.bz2
autoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.zip
autoconf-2.13-mawk
-rw-r--r--acspecific.m44
-rw-r--r--autoconf.texi6
-rwxr-xr-xconfigure2
3 files changed, 6 insertions, 6 deletions
diff --git a/acspecific.m4 b/acspecific.m4
index 5c6f1c9..8609f07 100644
--- a/acspecific.m4
+++ b/acspecific.m4
@@ -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)])
diff --git a/autoconf.texi b/autoconf.texi
index 22a2ccd..fd854b6 100644
--- a/autoconf.texi
+++ b/autoconf.texi
@@ -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
diff --git a/configure b/configure
index 7c2ad02..58c723d 100755
--- 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