X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a603c6e0bb8b9e79d4136ee0fd0d1bf6a7d010ef..ac3f2e33b464a168b84ddb8a2da2195a6656dd19:/tests/atlocal.in?ds=sidebyside diff --git a/tests/atlocal.in b/tests/atlocal.in index 7277a597..0b888d16 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -1,8 +1,20 @@ -# @configure_input@ -*- shell-script -*- +# @configure_input@ -*- shell-script -*- # Configurable variable values for Bison test suite. -# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, -# 2009 Free Software Foundation, Inc. +# Copyright (C) 2000-2012 Free Software Foundation, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # We need a C compiler. : ${CC='@CC@'} @@ -47,4 +59,13 @@ CONF_JAVA='@CONF_JAVA@' # We need egrep. : ${EGREP='@EGREP@'} -abs_top_srcdir='@abs_top_srcdir@' +# 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