X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/02287ec65002d4967927ba3cf22f6fdc634c4291..10b009fa50359e2dd5b068f1aaa40c1497da916a:/tests/atlocal.in diff --git a/tests/atlocal.in b/tests/atlocal.in index 7302209f..d059d630 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -49,10 +49,13 @@ BISON_CXX_WORKS='@BISON_CXX_WORKS@' # Handle --compile-c-with-cxx here, once CXX and CXXFLAGS are known. if "$at_arg_compile_c_with_cxx"; then + CC_IS_CXX=1 CC=$CXX O0CFLAGS=$O0CXXFLAGS NO_WERROR_CFLAGS=$NO_WERROR_CXXFLAGS CFLAGS=$CXXFLAGS +else + CC_IS_CXX=0 fi