]> git.saurik.com Git - bison.git/blobdiff - tests/atlocal.in
Merge remote-tracking branch 'origin/maint'
[bison.git] / tests / atlocal.in
index 7302209f228e3f19a24956284cfbd3a4285e596a..ef31d9fced1f19665ff711938f11b9a60dde29dd 100644 (file)
@@ -1,4 +1,4 @@
-# @configure_input@                                    -*- shell-script -*-
+# @configure_input@                                     -*- shell-script -*-
 # Configurable variable values for Bison test suite.
 
 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
@@ -81,3 +81,10 @@ CONF_JAVA='@CONF_JAVA@'
 # Use simple quotes (lib/quote.c).
 LC_CTYPE=C
 export LC_CTYPE
+
+
+# Handle --compile-c-with-cxx here, once CXX and CXXFLAGS are known.
+if "$at_arg_compile_c_with_cxx"; then
+  CC=$CXX
+  CFLAGS=$CXXFLAGS
+fi