]>
Commit | Line | Data |
---|---|---|
342b8b6e AD |
1 | # @configure_input@ -*- shell-script -*- |
2 | # Configurable variable values for Bison test suite. | |
3b2942e6 | 3 | |
c932d613 | 4 | # Copyright (C) 2000-2012 Free Software Foundation, Inc. |
a34e8b24 AD |
5 | # |
6 | # This program is free software: you can redistribute it and/or modify | |
7 | # it under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation, either version 3 of the License, or | |
9 | # (at your option) any later version. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
342b8b6e AD |
18 | |
19 | # We need a C compiler. | |
8defe11b | 20 | : ${CC='@CC@'} |
f377f69f AD |
21 | |
22 | # We want no optimization. | |
34731471 | 23 | CFLAGS='@O0CFLAGS@ @WARN_CFLAGS_TEST@ @WERROR_CFLAGS@' |
342b8b6e | 24 | |
d88cf117 JD |
25 | # Sometimes a test group needs to ignore gcc warnings, so it locally |
26 | # sets CFLAGS to this. | |
34731471 | 27 | NO_WERROR_CFLAGS='@O0CFLAGS@ @WARN_CFLAGS_TEST@' |
d88cf117 | 28 | |
342b8b6e | 29 | # We need `config.h'. |
231ed89a | 30 | CPPFLAGS="-I$abs_top_builddir/lib @CPPFLAGS@" |
642cb8f8 AD |
31 | |
32 | # Is the compiler GCC? | |
33 | GCC='@GCC@' | |
7548fed2 | 34 | |
209ea708 | 35 | # The C++ compiler. |
8defe11b | 36 | : ${CXX='@CXX@'} |
9d56d294 | 37 | |
209ea708 PE |
38 | # If 'exit 77'; skip all C++ tests; otherwise ':'. |
39 | BISON_CXX_WORKS='@BISON_CXX_WORKS@' | |
40 | ||
713535c2 | 41 | # We want no optimization with C++, too. |
34731471 | 42 | CXXFLAGS='@O0CXXFLAGS@ @WARN_CXXFLAGS_TEST@ @WERROR_CFLAGS@' |
713535c2 | 43 | |
9d56d294 PE |
44 | # Are special link options needed? |
45 | LDFLAGS='@LDFLAGS@' | |
46 | ||
47 | # Are special libraries needed? | |
fb9a3976 | 48 | LIBS="$abs_top_builddir/lib/libbison.a @LIBS@ @INTLLIBS@" |
8405b70c PB |
49 | |
50 | # Empty if no javac was found | |
51 | CONF_JAVAC='@CONF_JAVAC@' | |
52 | ||
53 | # Empty if no Java VM was found | |
54 | CONF_JAVA='@CONF_JAVA@' | |
da730230 JD |
55 | |
56 | # Empty if no xsltproc was found | |
8defe11b AD |
57 | : ${XSLTPROC='@XSLTPROC@'} |
58 | ||
59 | # We need egrep. | |
60 | : ${EGREP='@EGREP@'} |