From: Tom Tromey Date: Thu, 8 Feb 2001 19:31:12 +0000 (+0000) Subject: * tests/pr87.test: Added check for blank line after `.c.o' rule. X-Git-Tag: Release-1-4d~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4639a526f55fb733fa834944e3ebb4ca600f8a37;p=thirdparty%2Fautomake.git * tests/pr87.test: Added check for blank line after `.c.o' rule. Report from Lars J. Aas. --- diff --git a/ChangeLog b/ChangeLog index ee1780ece..bc1c562fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-08 Tom Tromey + + * tests/pr87.test: Added check for blank line after `.c.o' rule. + Report from Lars J. Aas. + 2001-02-07 Lars J. Aas * lisp.am (install-@DIR@LISP): Removed extra space. diff --git a/tests/pr87.test b/tests/pr87.test index 0db44d399..6cc6e86d9 100755 --- a/tests/pr87.test +++ b/tests/pr87.test @@ -38,6 +38,16 @@ mkdir build rm missing install-sh mkinstalldirs +(while read line; do + if test "$line" = ".c.o:"; then + read next + if test -z "$next"; then + exit 1 + fi + break + fi + done) < foo/Makefile.in || exit 1 + # We use gcc and not gcc -traditional as the latter fails on some # Linux boxes (Red Hat 5.1 in particular). $ACLOCAL \