]> sourceware.org Git - automake.git/commitdiff
* exsource.test: Don't use configure substitution in _SOURCES.
authorTom Tromey <tromey@redhat.com>
Tue, 23 Nov 1999 04:58:16 +0000 (04:58 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 23 Nov 1999 04:58:16 +0000 (04:58 +0000)
* depend.test: Don't use configure substitution in _SOURCES.

tests/ChangeLog
tests/depend.test
tests/exsource.test

index 3406c650020916e24d78034e125e5c1252b910f9..b610117e4fdf4f4c8baa1ca12b00ab016645207d 100644 (file)
@@ -1,5 +1,7 @@
 1999-11-22  Tom Tromey  <tromey@cygnus.com>
 
+       * 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.
index 23c20458e7367decc9e636e2b62a44e274939ee6..64d9a4adcc267e0ab0d0b2f3936381c18cdc58cc 100755 (executable)
@@ -2,18 +2,16 @@
 
 # This tests for a bug reported by Henrik Frystyk Nielsen <frystyk@w3.org>
 # 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
index 4a1578fedb36f4ddd77425264bd76d953bd1f8ac..652e79b656ec262605436169766ea88411f181a3 100755 (executable)
@@ -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
This page took 0.031356 seconds and 5 git commands to generate.