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

@@ -500,9 +500,11 @@ main (void)
}
]])
AT_CHECK([bison -o input.c input.y])
AT_LALR1_CC_IF([AT_COMPILE_CXX([input])],
[AT_COMPILE([input])])
AT_LALR1_CC_IF(
[AT_CHECK([bison -o input.cc input.y])
AT_COMPILE_CXX([input])],
[AT_CHECK([bison -o input.c input.y])
AT_COMPILE([input])])
AT_PARSER_CHECK([./input], 1,
[[sending: 'x' (0@0-9)
thing (0@0-9): 'x' (0@0-9)