From: Tom Tromey Date: Fri, 12 Jan 2001 18:43:41 +0000 (+0000) Subject: * cxxansi.test: New file. X-Git-Tag: Release-1-4d~120 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9a416f910bf74bcd54e312a25e86738b8a4eef7d;p=automake.git * cxxansi.test: New file. * Makefile.am (TESTS): Added cxxansi.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 6f7858bd..fb5c62ce 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2001-01-12 Tom Tromey + + * cxxansi.test: New file. + * Makefile.am (TESTS): Added cxxansi.test. + 2000-12-21 Tom Tromey * vtexi.test: Fixed to reflect new rules. diff --git a/tests/Makefile.am b/tests/Makefile.am index b22801ba..f2347426 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -71,6 +71,7 @@ confsub.test \ confvar.test \ confvar2.test \ copy.test \ +cxxansi.test \ cxxcpp.test \ cxxlibobj.test \ cxxlink.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index bc88d980..856fa891 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -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 index 00000000..a0d949d9 --- /dev/null +++ b/tests/cxxansi.test @@ -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