]> git.pld-linux.org Git - packages/autoconf.git/blame - autoconf-mawk.patch
- added patch for AC_SYS_LARGEFILE etc.
[packages/autoconf.git] / autoconf-mawk.patch
CommitLineData
6910710c
JR
1diff -urNp -x '*.orig' autoconf-2.71.org/configure autoconf-2.71/configure
2--- autoconf-2.71.org/configure 2021-01-28 22:06:02.000000000 +0100
3+++ autoconf-2.71/configure 2021-08-29 21:35:09.656146150 +0200
4@@ -2277,7 +2277,7 @@ fi
5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6 printf "%s\n" "$MKDIR_P" >&6; }
8b0f80ae 7
8-for ac_prog in gawk mawk nawk awk
4d47da1a 9+for ac_prog in mawk gawk nawk awk
8b0f80ae 10 do
11 # Extract the first word of "$ac_prog", so it can be a program name with args.
12 set dummy $ac_prog; ac_word=$2
6910710c
JR
13diff -urNp -x '*.orig' autoconf-2.71.org/doc/autoconf.texi autoconf-2.71/doc/autoconf.texi
14--- autoconf-2.71.org/doc/autoconf.texi 2021-01-28 21:46:48.000000000 +0100
15+++ autoconf-2.71/doc/autoconf.texi 2021-08-29 21:35:09.659479478 +0200
16@@ -4162,10 +4162,10 @@ in some cases whether they support certa
09ac297f 17 @acindex{PROG_AWK}
18 @ovindex AWK
19 @caindex prog_AWK
20-Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
21+Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
22 order, and set output variable @code{AWK} to the first one that is found.
23-It tries @code{gawk} first because that is reported to be the
24-best implementation. The result can be overridden by setting the
25+It tries @code{mawk} first because that is reported to be the
26+implementation that our system usually runs. The result can be overridden by setting the
27 variable @code{AWK} or the cache variable @code{ac_cv_prog_AWK}.
09ac297f 28
6910710c
JR
29 Using this macro is sufficient to avoid the pitfalls of traditional
30diff -urNp -x '*.orig' autoconf-2.71.org/lib/autoconf/programs.m4 autoconf-2.71/lib/autoconf/programs.m4
31--- autoconf-2.71.org/lib/autoconf/programs.m4 2021-01-28 21:46:48.000000000 +0100
32+++ autoconf-2.71/lib/autoconf/programs.m4 2021-08-29 21:35:09.656146150 +0200
33@@ -348,7 +348,7 @@ AN_PROGRAM([gawk], [AC_PROG_AWK])
34 AN_PROGRAM([mawk], [AC_PROG_AWK])
35 AN_PROGRAM([nawk], [AC_PROG_AWK])
36 AC_DEFUN([AC_PROG_AWK],
37-[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
38+[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
39
40
41 # AC_PROG_EGREP
This page took 0.115665 seconds and 4 git commands to generate.