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

@@ -780,8 +780,11 @@ m4_define([AT_CHECK_DANCER],
AT_BISON_OPTION_PUSHDEFS([$1])
_AT_DATA_DANCER_Y([$1])
AT_CHECK([bison -o dancer.c dancer.y])
AT_LALR1_CC_IF([AT_COMPILE_CXX([dancer])],
[AT_COMPILE([dancer])])
AT_LALR1_CC_IF(
[AT_CHECK([bison -o dancer.cc dancer.y])
AT_COMPILE_CXX([dancer])],
[AT_CHECK([bison -o dancer.c dancer.y])
AT_COMPILE([dancer])])
AT_PARSER_CHECK([./dancer], 1, [],
[syntax error, unexpected ':'
])