]> sourceware.org Git - automake.git/commitdiff
* cxxansi.test: New file.
authorTom Tromey <tromey@redhat.com>
Fri, 12 Jan 2001 18:43:41 +0000 (18:43 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 12 Jan 2001 18:43:41 +0000 (18:43 +0000)
* Makefile.am (TESTS): Added cxxansi.test.

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

index 6f7858bd4663a298243f5f99d53368d9701ed1d7..fb5c62ce76fe6863606572e8d6aa1a06c3560611 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-12  Tom Tromey  <tromey@redhat.com>
+
+       * cxxansi.test: New file.
+       * Makefile.am (TESTS): Added cxxansi.test.
+
 2000-12-21  Tom Tromey  <tromey@redhat.com>
 
        * vtexi.test: Fixed to reflect new rules.
index b22801ba0d8137db7b3f4c4e0e919b76906479bd..f23474260f52ce5851bb25b0e351be58b31cddfc 100644 (file)
@@ -71,6 +71,7 @@ confsub.test \
 confvar.test \
 confvar2.test \
 copy.test \
+cxxansi.test \
 cxxcpp.test \
 cxxlibobj.test \
 cxxlink.test \
index bc88d980d1c8e789e3a92105f7068907d15d33e2..856fa89169e588e0127783ecff668f5aead49cb7 100644 (file)
@@ -144,6 +144,7 @@ confsub.test \
 confvar.test \
 confvar2.test \
 copy.test \
+cxxansi.test \
 cxxcpp.test \
 cxxlibobj.test \
 cxxlink.test \
diff --git a/tests/cxxansi.test b/tests/cxxansi.test
new file mode 100755 (executable)
index 0000000..a0d949d
--- /dev/null
@@ -0,0 +1,28 @@
+#! /bin/sh
+
+# Test to make sure ansi2knr doesn't use `$U' for C++.
+# Report from Robert Boehne.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CXX
+AM_C_PROTOTYPES
+END
+
+cat > Makefile.am << 'END'
+AUTOMAKE_OPTIONS = ansi2knr
+sbin_PROGRAMS = anonymous
+anonymous_SOURCES = doe.C jane.C
+END
+
+: > ansi2knr.c
+: > ansi2knr.1
+
+: > doe.C
+: > jane.C
+
+$AUTOMAKE || exit 1
+
+fgrep '$U' Makefile.in && exit 1
+exit 0
This page took 0.034658 seconds and 5 git commands to generate.