From: Tom Tromey Date: Fri, 12 Jan 2001 18:43:41 +0000 (+0000) Subject: * cxxansi.test: New file. X-Git-Tag: Release-1-4d~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f604baf27bda7591efc600d1667265933b1b649;p=thirdparty%2Fautomake.git * cxxansi.test: New file. * Makefile.am (TESTS): Added cxxansi.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 6f7858bd4..fb5c62ce7 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 b22801ba0..f23474260 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 bc88d980d..856fa8916 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 000000000..a0d949d97 --- /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