]> sourceware.org Git - automake.git/commitdiff
* tests/pr87.test: Added check for blank line after `.c.o' rule.
authorTom Tromey <tromey@redhat.com>
Thu, 8 Feb 2001 19:31:12 +0000 (19:31 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 8 Feb 2001 19:31:12 +0000 (19:31 +0000)
Report from Lars J. Aas.

ChangeLog
tests/pr87.test

index ee1780eceb1ae7871a6fb87ba5cd6f29c04699ec..bc1c562fed35ee7b49eb7f3b8275ead3111a78af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-08  Tom Tromey  <tromey@redhat.com>
+
+       * tests/pr87.test: Added check for blank line after `.c.o' rule.
+       Report from Lars J. Aas.
+
 2001-02-07  Lars J. Aas <larsa@sim.no>
 
        * lisp.am (install-@DIR@LISP): Removed extra space.
index 0db44d399cd4e2ccfa74713f08891a2edd0dbd9b..6cc6e86d9a0be6425cb157068f9b52ece3745549 100755 (executable)
@@ -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 \
This page took 0.032537 seconds and 5 git commands to generate.