X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/60aa04a236004d3d03f00aeaf07b643a52ef0760..37cfa1195debf4261cac67fb2875d04da589a88f:/tests/atlocal.in diff --git a/tests/atlocal.in b/tests/atlocal.in index 315e98ed..8adb3933 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