* tests/atconfig.in (CPPFLAGS): Add.

* tests/calc.at (AT_CHECK): Use CPPFLAGS.
This commit is contained in:
Akim Demaille
2001-08-04 14:00:09 +00:00
parent 70a84437e1
commit 8303fc422a
5 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2001-08-04 Pascal Bart <pascal.bart@epita.fr>
* tests/atconfig.in (CPPFLAGS): Add.
* tests/calc.at (AT_CHECK): Use CPPFLAGS.
2001-08-03 Akim Demaille <akim@epita.fr>
Version 1.28b.

View File

@@ -122,7 +122,7 @@ CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
INSTALL Makefile.am Makefile.in NEWS README-alpha THANKS aclocal.m4 \
config.hin configure configure.in
config.hin configure configure.in missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

1
THANKS
View File

@@ -10,6 +10,7 @@ Laurent Mascherpa laurent.mascherpa@epita.fr
Marc Autret autret_m@epita.fr
Neil Booth NeilB@earthling.net
Noah Friedman friedman@gnu.org
Pascal Bart pascal.bart@epita.fr
Paul Eggert eggert@twinsun.com
Piotr Gackiewicz gacek@intertel.com.pl
Richard Stallman rms@gnu.org

View File

@@ -85,6 +85,7 @@ M4='@M4@'
# We need a C compiler.
CC='@CC@'
CFLAGS='@CFLAGS@'
CPPFLAGS='-I$(top_srcdir) @CPPFLAGS@'
# We want to use the files shipped with Bison.
BISON_SIMPLE=$at_top_srcdir/src/bison.simple

View File

@@ -293,7 +293,7 @@ AT_DATA_CALC_Y([$1])
# Specify the output files to avoid problems on different file systems.
AT_CHECK([bison calc.y -o calc.c patsubst([$1], [--yyerror-verbose])],
[0], [], [])
AT_CHECK([$CC $CFLAGS calc.c -o calc], 0, [], [])
AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [])
# Test the priorities.
_AT_CHECK_CALC([$1],