From bf79ea673910abd5d93b95117cc423a406a9bd90 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 14 Jan 1999 21:55:10 +0000 Subject: [PATCH] * confh2.test: New file. * Makefile.am (TESTS): Added confh2.test. --- tests/confh2.test | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 tests/confh2.test diff --git a/tests/confh2.test b/tests/confh2.test new file mode 100755 index 00000000..c04556d4 --- /dev/null +++ b/tests/confh2.test @@ -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 -- 2.43.5