X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/02287ec65002d4967927ba3cf22f6fdc634c4291..22b081deb7ab1d0ec7a279e5213fa7fdc2c85207:/tests/atlocal.in?ds=sidebyside diff --git a/tests/atlocal.in b/tests/atlocal.in index 7302209f..ef31d9fc 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -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