]> sourceware.org Git - automake.git/commitdiff
For PR automake/68:
authorTom Tromey <tromey@redhat.com>
Sun, 27 Aug 2000 18:16:48 +0000 (18:16 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 27 Aug 2000 18:16:48 +0000 (18:16 +0000)
* Makefile.am (TESTS): Added header.test.
* header.test: New file.

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

index 75e880056f1e887336068f3656756246373cf166..351aa97648994dd089206b9f77e1bf73201fe305 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-27  Tom Tromey  <tromey@cygnus.com>
+
+       For PR automake/68:
+       * Makefile.am (TESTS): Added header.test.
+       * header.test: New file.
+
 2000-08-26  Tom Tromey  <tromey@cygnus.com>
 
        For PR automake/73:
index f8e8f0f8410460c4c14cff4fb3ce251d6c9bc6fa..3f935bbaa7b1300e5bcf88b3e23b3999b76a817d 100644 (file)
@@ -112,6 +112,7 @@ fpinstall.test \
 gcj.test \
 gcj2.test \
 gnits.test \
+header.test \
 implicit.test \
 include.test \
 info.test \
index 52dd3cddd23c7ed5d8790864e6402432950949e1..d95e9f9cd44653ba80bd1138a23c6279d9dde871 100644 (file)
@@ -179,6 +179,7 @@ fpinstall.test \
 gcj.test \
 gcj2.test \
 gnits.test \
+header.test \
 implicit.test \
 include.test \
 info.test \
diff --git a/tests/header.test b/tests/header.test
new file mode 100755 (executable)
index 0000000..798e507
--- /dev/null
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+# Test for PR 68.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AM_INIT_AUTOMAKE(nonesuch, nonesuch)
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_SUBST(MY_HEADERS)
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+AC_PROG_CC
+AC_OUTPUT(Makefile)
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = zoo
+zoo_SOURCES = joe.c
+END
+
+: > joe.c
+: > qq.h
+
+$AUTOMAKE || exit 1
+
+grep '[^@]MY_HEADERS' Makefile.in && exit 1
+exit 0
This page took 0.031985 seconds and 5 git commands to generate.