diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-18 07:40:22 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-18 07:40:22 -0800 |
commit | aa845cf5e040864ad62d96e31ae04bfcc2594431 (patch) | |
tree | c6a626cb144609e02eb75bc01245477a81c1aaaa | |
parent | 39d099488e39650c06f60ac3a5ed2e0bd5d0be5f (diff) | |
download | autoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.tar.gz autoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.tar.bz2 autoconf213-aa845cf5e040864ad62d96e31ae04bfcc2594431.zip |
autoconf-2.13-mawk
-rw-r--r-- | acspecific.m4 | 4 | ||||
-rw-r--r-- | autoconf.texi | 6 | ||||
-rwxr-xr-x | configure | 2 |
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 @@ -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 |