automake-patches
[Top][All Lists]
Advanced

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

suffix3.test.patch


From: Alexandre Duret-Lutz
Subject: suffix3.test.patch
Date: 08 Nov 2001 10:00:53 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

 adl> BTW, I don't understand why suffix3.test needs --Wno-error, and
 adl> I don't understand the final grep either: methinks it should
 adl> rather ensure that foo.$(OBJEXT) appears in Makefile.in.

Here is what I meant.

Index: ChangeLog
from  Alexandre Duret-Lutz  <address@hidden>

        * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
        Don't use -Wno-error.

Index: tests/suffix3.test
===================================================================
RCS file: /cvs/automake/automake/tests/suffix3.test,v
retrieving revision 1.3
diff -u -r1.3 suffix3.test
--- tests/suffix3.test 2001/04/09 14:50:53 1.3
+++ tests/suffix3.test 2001/11/08 09:02:01
@@ -17,7 +17,12 @@
 END
 
 $ACLOCAL || exit 1
-$AUTOMAKE --Wno-error || exit 1
+$AUTOMAKE || exit 1
 
+# The foo.cc intermediate step is implicit, it's a mistake if
+# Automake requires this file somewhere.
 fgrep foo.cc Makefile.in && exit 1
+# However Automake must figure that foo.zoo is eventually
+# transformed into foo.o, and use this latter file (to link foo).
+fgrep 'foo.$(OBJEXT)' Makefile.in || exit 1
 exit 0

-- 
Alexandre Duret-Lutz



reply via email to

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