Ensure that the C++ compiler used for testing actually works on a

simple test program; if not, skip the C++-related tests.
This commit is contained in:
Paul Eggert
2004-05-24 06:58:02 +00:00
parent 383e69dc79
commit 209ea708c4
5 changed files with 67 additions and 5 deletions

View File

@@ -111,6 +111,7 @@ AC_CONFIG_FILES([tests/Makefile tests/atlocal])
AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])
AC_CHECK_PROGS([VALGRIND], [valgrind])
AC_PROG_CXX
BISON_TEST_FOR_WORKING_CXX_COMPILER
AM_MISSING_PROG([AUTOM4TE], [autom4te])
# Needed by tests/atlocal.in.
AC_SUBST([GCC])