X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6428a8a4a569b0b7ac1b84bdd78efc3fe18160ca..fc28638e1c4ef0c41ad52b832b547305ea8c1784:/tests/local.at diff --git a/tests/local.at b/tests/local.at index 48afab83..68a7ecaa 100644 --- a/tests/local.at +++ b/tests/local.at @@ -600,9 +600,7 @@ m4_define([AT_QUELL_VALGRIND], # otherwise pass "-c"; this is a hack. The default SOURCES is OUTPUT # with trailing .o removed, and ".c" appended. m4_define([AT_COMPILE], -[AT_CHECK([case $POSIXLY_CORRECT_IS_EXPORTED:$C_COMPILER_POSIXLY_CORRECT in - true:false) echo 'cannot compile properly with POSIXLY_CORRECT' && exit 77;; -esac]) +[AT_CHECK([$BISON_C_WORKS], 0, ignore, ignore) AT_CHECK(m4_join([ ], [$CC $CFLAGS $CPPFLAGS], [m4_bmatch([$1], [[.]], [-c], [$LDFLAGS])],