]> git.saurik.com Git - bison.git/blobdiff - tests/atlocal.in
Merge branch 'maint'
[bison.git] / tests / atlocal.in
index 315e98ed1b4cd7a803b835b340f0231475c8d8b4..8adb3933f7347e708f17f5c0fdda29479f238a37 100644 (file)
@@ -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