From: Alexandre Duret-Lutz Date: Thu, 8 Nov 2001 15:25:58 +0000 (+0000) Subject: * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. X-Git-Tag: Release-1-5b~35 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=786b12f75f84df10928a8af611198eb334b985a1;p=automake.git * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. Don't use -Wno-error. --- diff --git a/ChangeLog b/ChangeLog index ee92eba9..0e34a997 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-08 Alexandre Duret-Lutz + + * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. + Don't use -Wno-error. + 2001-11-08 Alexandre Duret-Lutz * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error. diff --git a/tests/suffix3.test b/tests/suffix3.test index cb2370ab..31c910c6 100755 --- a/tests/suffix3.test +++ b/tests/suffix3.test @@ -17,7 +17,12 @@ foo_SOURCES = foo.zoo 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