]> git.saurik.com Git - bison.git/blame - tests/atlocal.in
Add gcc's -Wundef to test suite and fix another warning from it.
[bison.git] / tests / atlocal.in
CommitLineData
342b8b6e
AD
1# @configure_input@ -*- shell-script -*-
2# Configurable variable values for Bison test suite.
3b2942e6 3
74553c98
AD
4# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
5# 2009 Free Software Foundation, Inc.
342b8b6e
AD
6
7# We need a C compiler.
74553c98 8: ${CC='@CC@'}
f377f69f
AD
9
10# We want no optimization.
a603c6e0 11CFLAGS='@O0CFLAGS@ @WARN_CFLAGS_TEST@ @WERROR_CFLAGS@'
342b8b6e 12
52cea04a
JD
13# Sometimes a test group needs to ignore gcc warnings, so it locally
14# sets CFLAGS to this.
a603c6e0 15NO_WERROR_CFLAGS='@O0CFLAGS@ @WARN_CFLAGS_TEST@'
52cea04a 16
342b8b6e 17# We need `config.h'.
231ed89a 18CPPFLAGS="-I$abs_top_builddir/lib @CPPFLAGS@"
642cb8f8
AD
19
20# Is the compiler GCC?
21GCC='@GCC@'
7548fed2 22
209ea708 23# The C++ compiler.
74553c98 24: ${CXX='@CXX@'}
9d56d294 25
209ea708
PE
26# If 'exit 77'; skip all C++ tests; otherwise ':'.
27BISON_CXX_WORKS='@BISON_CXX_WORKS@'
28
713535c2 29# We want no optimization with C++, too.
a603c6e0 30CXXFLAGS='@O0CXXFLAGS@ @WARN_CXXFLAGS_TEST@ @WERROR_CFLAGS@'
713535c2 31
9d56d294
PE
32# Are special link options needed?
33LDFLAGS='@LDFLAGS@'
34
35# Are special libraries needed?
5c99151a 36LIBS="$abs_top_builddir/lib/libbison.a @LIBS@ @INTLLIBS@"
8405b70c
PB
37
38# Empty if no javac was found
39CONF_JAVAC='@CONF_JAVAC@'
40
41# Empty if no Java VM was found
42CONF_JAVA='@CONF_JAVA@'
da730230
JD
43
44# Empty if no xsltproc was found
74553c98
AD
45: ${XSLTPROC='@XSLTPROC@'}
46
47# We need egrep.
48: ${EGREP='@EGREP@'}
43aabb70
JD
49
50abs_top_srcdir='@abs_top_srcdir@'