From: Paul Eggert Date: Wed, 29 May 2002 22:26:16 +0000 (+0000) Subject: (check-local): Do not assume that egrep and fgrep exist. X-Git-Tag: AUTOCONF-2.53b~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ec5795dc90f39af83cab46ef3584035b492f9d;p=thirdparty%2Fautoconf.git (check-local): Do not assume that egrep and fgrep exist. --- diff --git a/lib/autoconf/Makefile.am b/lib/autoconf/Makefile.am index 6ffbad9d0..23292e930 100644 --- a/lib/autoconf/Makefile.am +++ b/lib/autoconf/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to create Makefile.in -## Copyright 2001 Free Software Foundation, Inc. +## Copyright (C) 2001, 2002 Free Software Foundation, Inc. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -48,7 +48,7 @@ ETAGS_ARGS = --lang=none \ check-local: if (cd $(srcdir) && \ - egrep '^_?EOF' $(dist_autoconflib_DATA)) >eof.log; then \ + grep '^_*EOF' $(dist_autoconflib_DATA)) >eof.log; then \ echo "ERROR: user EOF tags were used:" >&2; \ sed "s,^,$*.m4: ," &2; \ echo >&2; \ diff --git a/lib/autotest/Makefile.am b/lib/autotest/Makefile.am index 80db80292..942be7778 100644 --- a/lib/autotest/Makefile.am +++ b/lib/autotest/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to create Makefile.in -## Copyright 2001, 2002 Free Software Foundation, Inc. +## Copyright (C) 2001, 2002 Free Software Foundation, Inc. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ ETAGS_ARGS = --lang=none \ check-local: if (cd $(srcdir) && \ - egrep '^_?EOF' $(dist_autotestlib_DATA)) >eof.log; then \ + grep '^_*EOF' $(dist_autotestlib_DATA)) >eof.log; then \ echo "ERROR: user EOF tags were used:" >&2; \ sed "s,^,$*.m4: ," &2; \ echo >&2; \ diff --git a/lib/m4sugar/Makefile.am b/lib/m4sugar/Makefile.am index 3d7761d60..dd0f2f92d 100644 --- a/lib/m4sugar/Makefile.am +++ b/lib/m4sugar/Makefile.am @@ -57,7 +57,7 @@ ETAGS_ARGS = --lang=none \ check-local: if (cd $(srcdir) && \ - egrep '^_?EOF' $(dist_m4sugarlib_DATA)) >eof.log; then \ + grep '^_*EOF' $(dist_m4sugarlib_DATA)) >eof.log; then \ echo "ERROR: user EOF tags were used:" >&2; \ sed "s,^,$*.m4: ," &2; \ echo >&2; \