2001-12-30 Tom Tromey <tromey@redhat.com>
+ For PR automake/243:
+ * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
+ after `:'.
+ * tests/Makefile.am (TESTS): Added pr243.test.
+ * tests/pr243.test: New file.
+
For PR automake/220:
* tests/Makefile.am (TESTS): Added pr220.test.
* tests/pr220.test: New file.
- * m4/cond.m4 (AM_CONDITIONAL): Cause config.status to fail if
- conditional was never run.
+ * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
+ fail if conditional was never run.
For PR automake/260:
* lib/depcomp (tru64): Correctly handle libtool case.
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
if (head -1 $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
ppf77.test \
pr2.test \
pr220.test \
+pr243.test \
pr266.test \
pr279.test \
pr279-2.test \
ppf77.test \
pr2.test \
pr220.test \
+pr243.test \
pr266.test \
pr279.test \
pr279-2.test \
--- /dev/null
+#! /bin/sh
+
+# Test for PR 243.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AC_INIT(foo, 0.1, dev@null)
+AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+AC_PROG_CC
+AM_CONDITIONAL(FOOTEST, false)
+AC_CONFIG_FILES(Makefile:Makefile.in:tail.mk)
+AC_OUTPUT
+END
+
+: > tail.mk
+
+cat > Makefile.am << 'END'
+include_HEADERS = 3dfx.h linutil.h
+noinst_HEADERS = fx64.h fxdll.h fximg.h fxglob.h \
+ fxos.h fxver.h glob.h
+noinst_PROGRAMS = fxmisc
+fxmisc_SOURCES = fx64.c fximg.c fxos.c linutil.c
+END
+
+$ACLOCAL || exit 1
+$AUTOMAKE || exit 1
+$AUTOCONF || exit 1
+./configure || exit 1
+
+test -f .deps/fx64.Po