diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cxxnoc.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/cxxnoc.test b/tests/cxxnoc.test index d0c18687d..e9dbc78ed 100755 --- a/tests/cxxnoc.test +++ b/tests/cxxnoc.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 2001, 2002, 2005 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -22,6 +22,8 @@ . ./defs || exit 1 +set -e + cat >> configure.in << 'END' AC_PROG_CXX END @@ -34,8 +36,8 @@ END : > doe.C : > jane.C -$ACLOCAL || exit 1 -$AUTOMAKE || exit 1 +$ACLOCAL +$AUTOMAKE -grep CC Makefile.in | grep -v MKDEP && exit 1 +$FGREP '(CC)' Makefile.in && exit 1 exit 0 |