X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ccdc1577ef7fb32a5e30cb655337e7cd42b98987..84271837f686cc9bdf2d7483d4493f26b52d133d:/tests/atlocal.in?ds=sidebyside 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