From 4639a526f55fb733fa834944e3ebb4ca600f8a37 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 8 Feb 2001 19:31:12 +0000 Subject: [PATCH] * tests/pr87.test: Added check for blank line after `.c.o' rule. Report from Lars J. Aas. --- ChangeLog | 5 +++++ tests/pr87.test | 10 ++++++++++ 2 files changed, 15 insertions(+) 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 \ -- 2.47.2