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

@@ -1,3 +1,15 @@
2004-05-23 Paul Eggert <eggert@cs.ucla.edu>
Ensure that the C++ compiler used for testing actually works on a
simple test program; if not, skip the C++-related tests. Problem
reported by Vin Shelton in:
http://mail.gnu.org/archive/html/bug-bison/2004-05/msg00026.html
* m4/cxx.m4: New file.
* configure.ac (BISON_TEST_FOR_WORKING_CXX_COMPILER): Add.
* tests/atlocal.in (BISON_CXX_WORKS): Add.
* tests/local.at (AT_COMPILE_CXX): Use it.
2004-05-21 Paul Eggert <eggert@cs.ucla.edu>
* data/glr.c (yylloc): Output this macro even if locations are not