From: Tom Tromey Date: Tue, 7 Dec 1999 01:41:16 +0000 (+0000) Subject: * confh4.test: New file. PR automake/34. X-Git-Tag: Release-1-4b~168 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1e86c494eed71f82c1097beabb128f68defbf76a;p=automake.git * confh4.test: New file. PR automake/34. * Makefile.am (TESTS): Mention confh4.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 9f24512d..2ac72d3c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-12-06 Tom Tromey + + * confh4.test: New file. PR automake/34. + * Makefile.am (TESTS): Mention confh4.test. + 1999-11-22 Tom Tromey * defs: Never hard link `depcomp'. From Pavel Roskin diff --git a/tests/Makefile.am b/tests/Makefile.am index 7da55e54..54a254e9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -61,6 +61,7 @@ confdist.test \ confh.test \ confh2.test \ confh3.test \ +confh4.test \ config.test \ confincl.test \ confsub.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 000dccef..f19ccc30 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -128,6 +128,7 @@ confdist.test \ confh.test \ confh2.test \ confh3.test \ +confh4.test \ config.test \ confincl.test \ confsub.test \ diff --git a/tests/confh4.test b/tests/confh4.test new file mode 100755 index 00000000..c695fea6 --- /dev/null +++ b/tests/confh4.test @@ -0,0 +1,31 @@ +#! /bin/sh + +# Test for PR 34. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_ARG_PROGRAM +AC_PROG_INSTALL +AM_CONFIG_HEADER(include/config.h) +AC_PROG_CC +AC_OUTPUT(Makefile include/Makefile) +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = foo +foo_SOURCES = foo.c +END + +: > foo.c +: > acconfig.h + +mkdir include +: > include/Makefile.am +: > include/config.h.in + +$AUTOMAKE || exit 1 + +grep -e -I Makefile.in