Fix some "make check" problems with Tru64 C++.

This commit is contained in:
Paul Eggert
2004-05-30 00:56:57 +00:00
parent 2905865228
commit 0797198341
6 changed files with 32 additions and 13 deletions

View File

@@ -442,11 +442,11 @@ AT_BISON_OPTION_PUSHDEFS([$1])
AT_DATA_CALC_Y([$1])
# Specify the output files to avoid problems on different file systems.
AT_CHECK([bison -o calc.c calc.y])
AT_LALR1_CC_IF([AT_COMPILE_CXX([calc])],
[AT_COMPILE([calc])])
AT_LALR1_CC_IF(
[AT_CHECK([bison -o calc.cc calc.y])
AT_COMPILE_CXX([calc])],
[AT_CHECK([bison -o calc.c calc.y])
AT_COMPILE([calc])])
# Test the priorities.
_AT_CHECK_CALC([$1],