From 17b9cc1726f173074e775917330712ca840c81af Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 23 Nov 1999 04:58:16 +0000 Subject: [PATCH] * exsource.test: Don't use configure substitution in _SOURCES. * depend.test: Don't use configure substitution in _SOURCES. --- tests/ChangeLog | 2 ++ tests/depend.test | 10 ++++------ tests/exsource.test | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 3406c650..b610117e 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 1999-11-22 Tom Tromey + * exsource.test: Don't use configure substitution in _SOURCES. + * depend.test: Don't use configure substitution in _SOURCES. * cygwin32.test: Don't use configure substitution in _SOURCES. * subobj.test: Check for another bug. diff --git a/tests/depend.test b/tests/depend.test index 23c20458..64d9a4ad 100755 --- a/tests/depend.test +++ b/tests/depend.test @@ -2,18 +2,16 @@ # This tests for a bug reported by Henrik Frystyk Nielsen # In some cases the auto-dependency can get confused and try -# to `-include' a directory. -# This actually tests for two bugs: -# * A configure substitution in _SOURCES incorrectly ends up in DEP_FILES -# * A backslash-newline in _SOURCES causes just the directory to -# appear in DEP_FILES. +# to `-include' a directory (if a backslash-newline appears in _SOURCES). . $srcdir/defs || exit 1 +echo AC_PROG_CC >> configure.in + cat > Makefile.am << 'END' bin_PROGRAMS = fred fred_SOURCES = \ - @BLATT@ + fred.c END $AUTOMAKE || exit 1 diff --git a/tests/exsource.test b/tests/exsource.test index 4a1578fe..652e79b6 100755 --- a/tests/exsource.test +++ b/tests/exsource.test @@ -17,8 +17,9 @@ END cat > Makefile.am << 'END' bin_PROGRAMS = www -www_SOURCES = www.c @extra_stuff@ +www_SOURCES = www.c EXTRA_www_SOURCES = xtra.c +www_LDADD = @extra_stuff@ magic: @echo $(DEP_FILES) END -- 2.43.5