patch for gperf version test
Tim Rice <[email protected]> Mon, 6 Apr 2009 17:36:40 -0700 (PDT)
| Newsgroups | gmane.comp.printing.a2ps.patches |
|---|---|
| Message-ID | <[email protected]> |
...... # # m4/gperf-check.m4 # Copyright message was trashing test # --- a2ps-4.14/m4/gperf-check.m4.old 2007-12-28 18:05:45.000000000 -0800 +++ a2ps-4.14/m4/gperf-check.m4 2007-12-28 18:05:45.000000000 -0800 @@ -12,9 +12,9 @@ fi min_gperf_version=ifelse([$1], ,2.7,$1) AC_MSG_CHECKING(for gperf - version >= $min_gperf_version) - gperf_major_version=`$GPERF --version | \ + gperf_major_version=`$GPERF --version | head -1 | \ sed 's/GNU gperf \([[0-9]]*\).\([[0-9]]*\)/\1/'` - gperf_minor_version=`$GPERF --version | \ + gperf_minor_version=`$GPERF --version | head -1 | \ sed 's/GNU gperf \([[0-9]]*\).\([[0-9]]*\)/\2/'` no_gperf="" dnl ...... -- Tim Rice Multitalents (707) 887-1469 [email protected]