* lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
commitd2e80858b8b86cae374acce03faf379206f36eb9
authorGary V. Vaughan <gary@gnu.org>
Tue, 27 Jan 2004 20:07:12 +0000 (27 20:07 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 27 Jan 2004 20:07:12 +0000 (27 20:07 +0000)
tree8c9f52c1151f602f4e69fdecfec98c749f1c2112
parent4a6e2542ea8b542c2bb9354eeb0e5a9d3790d5fd
* lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
grep or ggrep program in PATH that accepts as long lines as
possible.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
AC_PROG_GREP.
(AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
egrep and fgrep respectively if $GREP -E/-F don't work.
(_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
_AC_PROG_GREP, and AC_PROG_SED.
(_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
longest input length accepted by a command.
(AC_PROG_SED): Use it.
* doc/autoconf.texi (Particular Programs): Document the changes.
* NEWS: Updated.
ChangeLog
NEWS
doc/autoconf.texi
lib/autoconf/programs.m4