]> sourceware.org Git - automake.git/commitdiff
* confh2.test: New file.
authorTom Tromey <tromey@redhat.com>
Thu, 14 Jan 1999 21:55:10 +0000 (21:55 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 14 Jan 1999 21:55:10 +0000 (21:55 +0000)
* Makefile.am (TESTS): Added confh2.test.

tests/confh2.test [new file with mode: 0755]

diff --git a/tests/confh2.test b/tests/confh2.test
new file mode 100755 (executable)
index 0000000..c04556d
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+# Test to make sure stamp files created correctly.
+# Report from Erez Zadok.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AM_CONFIG_HEADER(config.h:include/config.h.in)
+AC_OUTPUT(Makefile)
+END
+
+: > Makefile.am
+: > acconfig.h
+
+mkdir include
+: > include/config.h.in
+
+$AUTOMAKE || exit 1
+
+grep '^config.h:' Makefile.in || exit 1
+fgrep 'echo timestamp > stamp-h' Makefile.in || exit 1
This page took 0.027992 seconds and 5 git commands to generate.