SOURCES: autoconf-mawk.patch - swap only the mawk<->gawk order. do...
pluto
pluto at pld-linux.org
Mon Aug 7 11:13:30 CEST 2006
Author: pluto Date: Mon Aug 7 09:13:30 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- swap only the mawk<->gawk order. don't touch awk because on solaris
awk is a non-posix piece of shit and gcc build fails.
---- Files affected:
SOURCES:
autoconf-mawk.patch (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/autoconf-mawk.patch
diff -u SOURCES/autoconf-mawk.patch:1.5 SOURCES/autoconf-mawk.patch:1.6
--- SOURCES/autoconf-mawk.patch:1.5 Sun Jul 28 19:53:50 2002
+++ SOURCES/autoconf-mawk.patch Mon Aug 7 11:13:24 2006
@@ -6,7 +6,7 @@
fi
-for ac_prog in gawk mawk nawk awk
-+for ac_prog in awk mawk gawk nawk
++for ac_prog in mawk gawk 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
@@ -18,11 +18,11 @@
@acindex PROG_AWK
@ovindex AWK
-Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
-+Check for @code{awk}, @code{mawk}, @code{gawk}, and @code{nawk}, in that
++Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
order, and set output variable @code{AWK} to the first one that is found.
-It tries @code{gawk} first because that is reported to be the
-best implementation.
-+It tries @code{awk} first because that is reported to be the
++It tries @code{mawk} first because that is reported to be the
+implementation that our system usually runs.
@end defmac
@@ -35,7 +35,7 @@
# Check for gawk first since it's generally better.
AC_DEFUN([AC_PROG_AWK],
-[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
-+[AC_CHECK_PROGS(AWK, awk mawk gawk nawk, )])
++[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
# AC_PROG_INSTALL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/autoconf-mawk.patch?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list