+Fri Mar 28 23:34:49 1997 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (handle_configure): Error if stamp-h appears in
+ AC_OUTPUT line.
+
Thu Mar 27 17:28:47 1997 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_dist_worker): Avoid automake rules in
# Skip any Makefile.
next if $local eq 'Makefile';
+ # Some users might be tempted to put `stamp-h' in the
+ # AC_OUTPUT line. This won't do the right thing, so we
+ # explicitly fail here.
+ if ($local eq 'stamp-h')
+ {
+ # FIXME: allow real filename.
+ &am_conf_error ('configure.in', $ac_output_line,
+ 'stamp-h should not appear in AC_OUTPUT');
+ next;
+ }
+
$output_rules .= ($local . ': '
. '$(top_builddir)/config.status '
. join (' ', @rewritten_inputs) . "\n"
+Fri Mar 28 23:36:04 1997 Tom Tromey <tromey@cygnus.com>
+
+ * stamph.test: New file.
+
Thu Mar 27 18:10:47 1997 Tom Tromey <tromey@cygnus.com>
* lisp.test: New file.
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
-cxxlibobj.test seenc.test cygwin32.test lisp.test
+cxxlibobj.test seenc.test cygwin32.test lisp.test stamph.test
EXTRA_DIST = defs $(TESTS)
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
-cxxlibobj.test seenc.test cygwin32.test lisp.test
+cxxlibobj.test seenc.test cygwin32.test lisp.test stamph.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
--- /dev/null
+#! /bin/sh
+
+# Error if stamp-h appears in AC_OUTPUT line.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AM_PROG_INSTALL
+AC_OUTPUT(Makefile stamp-h)
+END
+
+: > Makefile.am
+
+$AUTOMAKE && exit 1
+exit 0