]> sourceware.org Git - automake.git/commitdiff
* specflags5.test: New file.
authorTom Tromey <tromey@redhat.com>
Fri, 10 Dec 1999 07:04:01 +0000 (07:04 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 10 Dec 1999 07:04:01 +0000 (07:04 +0000)
* Makefile.am (TESTS): Added specflags5.test.

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

index 6d8d19e3e9e5c9ca01cdb292af4ec91130ee9836..7b51c54bdd9c6db1946801c1a96ae367a2af95f9 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-10  Tom Tromey  <tromey@cygnus.com>
+
+       * specflags5.test: New file.
+       * Makefile.am (TESTS): Added specflags5.test.
+
 1999-12-06  Tom Tromey  <tromey@cygnus.com>
 
        * confh4.test: Corrected final test.
index 54a254e91bb0aa76340a9b023ca4826f54eb407c..0dac5afe9e1a08e2bad0598a06b97250cf360d26 100644 (file)
@@ -197,6 +197,7 @@ specflags.test \
 specflags2.test        \
 specflags3.test        \
 specflags4.test \
+specflags5.test \
 spell.test \
 spell2.test \
 spell3.test \
index f19ccc30e34a2bf4fbac59e1dd25bba9f4c2717a..23fe5da9b0d1b5c1bb8ff8979a3305541b296cf4 100644 (file)
@@ -264,6 +264,7 @@ specflags.test \
 specflags2.test        \
 specflags3.test        \
 specflags4.test \
+specflags5.test \
 spell.test \
 spell2.test \
 spell3.test \
diff --git a/tests/specflags5.test b/tests/specflags5.test
new file mode 100755 (executable)
index 0000000..a4afdca
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+# Test of flags specific to executable.
+# From Pavel Roskin.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = foo
+foo_CFLAGS = -DFOO
+foo_SOURCES = foo.c
+END
+
+: > compile
+
+$AUTOMAKE || exit 1
+
+fgrep '$(foo_CFLAGS)' Makefile.in
This page took 0.028808 seconds and 5 git commands to generate.