]> git.pld-linux.org Git - packages/autoconf.git/blame - autoconf-mawk.patch
- fix: look on gawk before mawk on ./configure.
[packages/autoconf.git] / autoconf-mawk.patch
CommitLineData
e19d3e39 1--- autoconf-2.13/configure.mawk Tue Jan 5 08:28:57 1999
2+++ autoconf-2.13/configure Sun Mar 21 16:58:01 1999
3@@ -583,7 +583,7 @@
4 done
5 test -n "$M4" || M4="m4"
6
7-for ac_prog in mawk gawk nawk awk
8+for ac_prog in gawk mawk nawk awk
9 do
10 # Extract the first word of "$ac_prog", so it can be a program name with args.
11 set dummy $ac_prog; ac_word=$2
12--- autoconf-2.13/acspecific.m4.mawk Tue Jan 5 08:27:52 1999
13+++ autoconf-2.13/acspecific.m4 Sun Mar 21 16:58:56 1999
14@@ -479,9 +479,9 @@
15 AC_DEFUN(AC_PROG_RANLIB,
16 [AC_CHECK_PROG(RANLIB, ranlib, ranlib, :)])
17
18-dnl Check for mawk first since it's generally faster.
19+dnl Don't check for mawk first even if it's generally faster.
20 AC_DEFUN(AC_PROG_AWK,
21-[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
22+[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
23
24 AC_DEFUN(AC_PROG_YACC,
25 [AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)])
26--- autoconf-2.13/autoconf.texi.mawk Tue Jan 5 08:28:37 1999
27+++ autoconf-2.13/autoconf.texi Sun Mar 21 16:59:42 1999
28@@ -1535,10 +1535,10 @@
29 @defmac AC_PROG_AWK
30 @maindex PROG_AWK
31 @ovindex AWK
32-Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
33+Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
34 order, and set output variable @code{AWK} to the first one that it
35-finds. It tries @code{mawk} first because that is reported to be the
36-fastest implementation.
37+finds. It tries @code{gawk} first because that is reported to be the
38+best implementation.
39 @end defmac
40
41 @defmac AC_PROG_CC
This page took 0.070961 seconds and 4 git commands to generate.