Thu Mar 19 01:33:35 1998 Tom Tromey <tromey@cygnus.com>
+ * automake.in (scan_one_configure_file): Check for `sinclude' and
+ turn into recursive call.
+
* automake.in (initialize_per_input): Set $output_all.
(generate_makefile): Don't set $output_header or generate
`default' target. Print $output_all before $output_header.
# used.
next if /AC_DEFUN/;
+ # Follow includes. This is a weirdness commonly in use at
+ # Cygnus and hopefully nowhere else.
+ if (/sinclude\((.*)\)/ && -f $1)
+ {
+ &scan_one_configure_file ($1);
+ }
+
# Populate libobjs array.
if (/AC_FUNC_ALLOCA/)
{
+Thu Mar 19 14:11:45 1998 Tom Tromey <tromey@cygnus.com>
+
+ * sinclude.test: New file.
+
Wed Mar 18 17:15:22 1998 Tom Tromey <tromey@cygnus.com>
* java.test: New file.
--- /dev/null
+#! /bin/sh
+
+# Test to see if `sinclude' works.
+
+. $srcdir/defs || exit 1
+
+cat > aclocal.m4 << 'END'
+sinclude(sub/p.m4)
+END
+
+mkdir sub
+cat > sub/p.m4 << 'END'
+AC_SUBST(MAGICALPIG)
+END
+
+: > Makefile.am
+
+$AUTOMAKE || exit 1
+
+grep MAGICALPIG Makefile.in