From 786b12f75f84df10928a8af611198eb334b985a1 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 8 Nov 2001 15:25:58 +0000 Subject: [PATCH] * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. Don't use -Wno-error. --- ChangeLog | 5 +++++ tests/suffix3.test | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.43.5