* m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
* tests/Makefile.am (TESTS): Added make.test.
* tests/make.test: New file.
+2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
+ * tests/Makefile.am (TESTS): Added make.test.
+ * tests/make.test: New file.
+
2001-04-10 Tom Tromey <tromey@redhat.com>
* tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
_am_include='#'
for am_inc in include .include; do
echo "$am_inc confinc" > confmf
- if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
_am_include=$am_inc
break
fi
link_f_only.test \
lisp.test \
ltlibobjs.test \
+make.test \
makevars.test \
man.test \
mclean.test \
link_f_only.test \
lisp.test \
ltlibobjs.test \
+make.test \
makevars.test \
man.test \
mclean.test \
--- /dev/null
+#! /bin/sh
+
+# Test to make sure `make' check works.
+# From Ralf Corsepius.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AC_INIT(Makefile.am)
+AM_INIT_AUTOMAKE(foo,0,no)
+AM_MAKE_INCLUDE
+AC_OUTPUT(Makefile)
+END
+
+: > Makefile.am
+
+$needs_autoconf
+
+set -e
+
+$ACLOCAL
+$AUTOCONF
+$AUTOMAKE
+
+export ACLOCAL
+export AUTOCONF
+export AUTOMAKE
+
+./configure
+touch configure.in
+$MAKE
+
+fgrep '_am_include = #' Makefile && exit 1
+exit 0