automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake/Makefile.am used 'egrep' without checking for egrep


From: Paul Eggert
Subject: automake/Makefile.am used 'egrep' without checking for egrep
Date: Sun, 15 Sep 2002 22:12:28 -0700 (PDT)

I installed this minor portability patch for pedantic POSIX.1-2001
hosts that lack egrep:

2002-09-15  Paul Eggert  <address@hidden>

        * Makefile.am (maintainer-check): Don't use egrep.

Index: Makefile.am
===================================================================
RCS file: /cvs/automake/automake/Makefile.am,v
retrieving revision 1.201
retrieving revision 1.202
diff -p -u -r1.201 -r1.202
--- Makefile.am 15 Sep 2002 20:45:47 -0000      1.201
+++ Makefile.am 16 Sep 2002 05:05:47 -0000      1.202
@@ -181,7 +181,7 @@ maintainer-check: automake aclocal
          exit 1; \
        fi
 ## Tests should never call autoupdate directly.
-       @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*autoupdate'; 
then \
+       @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoupdate'; 
then \
          echo 'Do not run "autoupdate" in the above tests.  Use "$$AUTOUPDATE" 
instead.' 1>&2; \
          exit 1; \
        fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]