]> git.pld-linux.org Git - packages/autoconf.git/commitdiff
- swap only the mawk<->gawk order. don't touch awk because on solaris
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 7 Aug 2006 09:13:24 +0000 (09:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  awk is a non-posix piece of shit and gcc build fails.

Changed files:
    autoconf-mawk.patch -> 1.6

autoconf-mawk.patch

index ebdb3a47400caf26494a62610089f6944c28df4c..dc67b1f8c269023ff501daaa981450ef95d95011 100644 (file)
@@ -6,7 +6,7 @@ diff -Nur autoconf-2.53.orig/configure autoconf-2.53/configure
  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 @@ diff -Nur autoconf-2.53.orig/doc/autoconf.texi autoconf-2.53/doc/autoconf.texi
  @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 @@ diff -Nur autoconf-2.53.orig/lib/autoconf/programs.m4 autoconf-2.53/lib/autoconf
  # 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
This page took 0.029609 seconds and 4 git commands to generate.