]> git.saurik.com Git - bison.git/blobdiff - tests/atlocal.in
Merge remote-tracking branch 'origin/maint'
[bison.git] / tests / atlocal.in
index 72a9bf75068a40640701bca284d9c2283aaae093..7e4f2e28b5c44dc0dc18e93fb531f173b12c3f64 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.
@@ -79,3 +79,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