]> git.saurik.com Git - bison.git/blame - tests/atconfig.in
Hopefully added to the repository all the distributed files.
[bison.git] / tests / atconfig.in
CommitLineData
e79137ac
AD
1# @configure_input@ -*- shell-script -*-
2# Configurable variable values for building test suites.
3# Copyright (C) 2000 Free Software Foundation, Inc.
4
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18# 02111-1307, USA.
19
20# This script is part of Autotest. Unlimited permission to copy,
21# distribute and modify the testing scripts that are the output of
22# that Autotest script is given. You need not follow the terms of the
23# GNU General Public License when using or distributing such scripts,
24# even though portions of the text of Autotest appear in them. The
25# GNU General Public License (GPL) does govern all other use of the
26# material that constitutes the Autotest.
27#
28# Certain portions of the Autotest source text are designed to be
29# copied (in certain cases, depending on the input) into the output of
30# Autotest. We call these the "data" portions. The rest of the
31# Autotest source text consists of comments plus executable code that
32# decides which of the data portions to output in any given case. We
33# call these comments and executable code the "non-data" portions.
34# Autotest never copies any of the non-data portions into its output.
35#
36# This special exception to the GPL applies to versions of Autotest
37# released by the Free Software Foundation. When you make and
38# distribute a modified version of Autotest, you may extend this
39# special exception to the GPL to apply to your modified version as
40# well, *unless* your modified version has the potential to copy into
41# its output some of the text that was the non-data portion of the
42# version that you started with. (In other words, unless your change
43# moves or copies text from the non-data portions to the data
44# portions.) If your modification has such potential, you must delete
45# any notice of this special exception to the GPL from your modified
46# version.
47
48# Snippet (1
49# This debugging script has been automatically generated from `make check'.
50# Call it with `--help' to get a quick usage summary.
51
0d533154
AD
52at_package='@PACKAGE@'
53at_version='@VERSION@'
e79137ac
AD
54# Snippet )1
55# Snippet (2
0d533154 56at_n='@ECHO_N@'
e79137ac
AD
57at_c='@ECHO_C@'
58test -f atlocal && . ./atlocal
59
60# LC_MESSAGES is always shadowed by LC_ALL. Here are the only cases:
61# - GNU: LANGUAGE -> LC_ALL -> LC_MESSAGES -> LANG
62# - POSIX: LC_ALL -> LC_MESSAGES -> LANG
63# - XPG4: LC_ALL -> LANG
64# - SysV/XPG2: LANG
65export LANGUAGE; LANGUAGE=C
66export LANG; LANG=C
67export LC_ALL; LC_ALL=C
68
69srcdir=@srcdir@
70top_srcdir=@top_srcdir@
71# Use absolute file notations, as the test might change directories.
72at_srcdir=`cd @srcdir@ && pwd`
73at_top_srcdir=`cd @top_srcdir@ && pwd`
0d533154
AD
74at_builddir=`pwd`
75at_top_builddir=`cd .. && pwd`
e79137ac
AD
76if test -n "@AT_TESTPATH@"; then
77 export PATH; PATH=`pwd`:`cd @AT_TESTPATH@ && pwd`:$PATH
78else
79 export PATH; PATH=`pwd`:$PATH
80fi
81
0d533154
AD
82# We need GNU M4.
83M4='@M4@'
84
85# We need a C compiler.
86CC='@CC@'
87CFLAGS='@CFLAGS@'
88
89# We want to use the files shipped with Bison.
29092a57 90BISON_SIMPLE=$at_top_srcdir/src/bison.simple
0d533154 91export BISON_SIMPLE
29092a57 92BISON_HAIRY=$at_top_srcdir/src/bison.hairy
0d533154 93export BISON_HAIRY
e79137ac 94# Snippet )2