* confh4.test: New file. PR automake/34.
authorTom Tromey <tromey@redhat.com>
Tue, 7 Dec 1999 01:41:16 +0000 (01:41 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 7 Dec 1999 01:41:16 +0000 (01:41 +0000)
* Makefile.am (TESTS): Mention confh4.test.

tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/confh4.test [new file with mode: 0755]

index 9f24512..2ac72d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-06  Tom Tromey  <tromey@cygnus.com>
+
+       * confh4.test: New file.  PR automake/34.
+       * Makefile.am (TESTS): Mention confh4.test.
+
 1999-11-22  Tom Tromey  <tromey@cygnus.com>
 
        * defs: Never hard link `depcomp'.  From Pavel Roskin
index 7da55e5..54a254e 100644 (file)
@@ -61,6 +61,7 @@ confdist.test \
 confh.test \
 confh2.test \
 confh3.test \
+confh4.test \
 config.test \
 confincl.test \
 confsub.test \
index 000dcce..f19ccc3 100644 (file)
@@ -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 (executable)
index 0000000..c695fea
--- /dev/null
@@ -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