* depend.test: Don't use configure substitution in _SOURCES.
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.
# 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
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