+2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * tests/subobj8.test: New file.
+ * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
+
2001-07-16 Tom Tromey <tromey@redhat.com>
Fix for PR automake/212:
## Process this file with automake to create Makefile.in
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test subobj8.test
TESTS = \
acinclude.test \
subobj5.test \
subobj6.test \
subobj7.test \
+subobj8.test \
subst.test \
suffix.test \
suffix2.test \
--- /dev/null
+#! /bin/sh
+
+# Make sure `compile' is included when subdir-objects is used in a subdir.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AC_INIT(Makefile.am)
+AC_CONFIG_AUX_DIR(tools)
+AM_INIT_AUTOMAKE(nonesuch, nonesuch)
+AC_PROG_CC
+AM_PROG_CC_C_O
+AC_OUTPUT(Makefile foo/Makefile)
+END
+
+mkdir tools foo foo/bar
+
+cat > Makefile.am << 'END'
+SUBDIRS = foo
+END
+
+cat > foo/Makefile.am << 'EOF'
+AUTOMAKE_OPTIONS = subdir-objects
+bin_PROGRAMS = mumble
+mumble_SOURCES = bar/a.c
+EOF
+
+$ACLOCAL || exit 1
+$AUTOMAKE --add-missing || exit 1
+test -f tools/compile || exit 1