* Makefile.am (TESTS): Added sourcesub.test.
+1999-05-13 Tom Tromey <tromey@cygnus.com>
+
+ * sourcesub.test: New file.
+ * Makefile.am (TESTS): Added sourcesub.test.
+
1999-05-01 Tom Tromey <tromey@cygnus.com>
* libobj2.test: Reverted previous change; it is incorrect.
scripts.test \
seenc.test \
sinclude.test \
+sourcesub.test \
specflags.test \
specflags2.test \
specflags3.test \
scripts.test \
seenc.test \
sinclude.test \
+sourcesub.test \
specflags.test \
specflags2.test \
specflags3.test \
--- /dev/null
+#! /bin/sh
+
+# Test to make sure config sub in _SOURCES fails.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = x
+x_SOURCES = x.c @FOO@
+EXTRA_x_SOURCES = y.c
+END
+
+$AUTOMAKE && exit 1
+exit 0