Ticket #49713: avoid-nawk.patch

File avoid-nawk.patch, 1.0 KB (added by larryv (Lawrence Velázquez), 9 years ago)

possibly minimal patch

  • doc/autoconf.info

    https://trac.macports.org/ticket/49713
    
    old new These macros check for particular progra 
    32123212some cases whether they support certain features.
    32133213
    32143214 -- Macro: AC_PROG_AWK
    3215      Check for `gawk', `mawk', `nawk', and `awk', in that order, and
     3215     Check for `gawk', `mawk', and `awk', in that order, and
    32163216     set output variable `AWK' to the first one that is found.  It
    32173217     tries `gawk' first because that is reported to be the best
    32183218     implementation.  The result can be overridden by setting the
  • lib/autoconf/programs.m4

    old new AN_PROGRAM([gawk], [AC_PROG_AWK]) 
    347347AN_PROGRAM([mawk], [AC_PROG_AWK])
    348348AN_PROGRAM([nawk], [AC_PROG_AWK])
    349349AC_DEFUN([AC_PROG_AWK],
    350 [AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
     350[AC_CHECK_PROGS(AWK, gawk mawk awk, )])
    351351
    352352
    353353# AC_PROG_EGREP