From: Akim Demaille Date: Thu, 3 Jan 2002 11:10:50 +0000 (+0000) Subject: * tests/bison.in: Adjust to CVS Autoconf. X-Git-Tag: BISON-1_30j~15 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/dd3c3f300609bdd8911746d923baebb4a5f5a331 * tests/bison.in: Adjust to CVS Autoconf. * tests/calc.at (exp): We no longer need to special case GCC as the warning flags are passed by configure. * tests/atlocal.in: Adjust. * configure.in: Bump to 1.30j. --- diff --git a/ChangeLog b/ChangeLog index cce38380..37cdee28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-01-03 Akim Demaille + + * tests/bison.in: Adjust to CVS Autoconf. + * tests/calc.at (exp): We no longer need to special case GCC as + the warning flags are passed by configure. + * tests/atlocal.in: Adjust. + * configure.in: Bump to 1.30j. + 2002-01-03 Akim Demaille Version 1.30i. diff --git a/NEWS b/NEWS index 145620e4..35bd1d02 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ Bison News ---------- +Changes in version 1.30j: + Changes in version 1.30i: * Use of alloca in parsers diff --git a/configure.in b/configure.in index 97f64ad6..5d517722 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ # Configure template for GNU Bison. -*-Autoconf-*- # -# Copyright 2001 Free Software Foundation, Inc. +# Copyright 2001, 2002 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 @@ -20,10 +20,10 @@ # We need a recent Autoconf to run a recent Autotest. AC_PREREQ(2.52g) -AC_INIT([GNU Bison], [1.30i], [bug-bison@gnu.org]) +AC_INIT([GNU Bison], [1.30j], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR(config) -AM_INIT_AUTOMAKE([bison], [1.30i]) +AM_INIT_AUTOMAKE([bison], [1.30j]) AM_CONFIG_HEADER(config.h:config.hin) # Initialize the test suite. diff --git a/tests/atlocal.in b/tests/atlocal.in index 0584e363..19c09262 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -6,8 +6,5 @@ CC='@CC@' CFLAGS='@CFLAGS@ @WARNING_CFLAGS@' -# We need to know if the compiler is GCC. -GCC='@GCC@' - # We need `config.h'. -CPPFLAGS="-I$top_buildpath @CPPFLAGS@" +CPPFLAGS="-I$abs_top_builddir @CPPFLAGS@" diff --git a/tests/bison.in b/tests/bison.in index 4adaefa6..67e5f08a 100644 --- a/tests/bison.in +++ b/tests/bison.in @@ -1,11 +1,11 @@ #! /bin/sh -# @configure_generated@ +# @configure_input@ # Wrapper around a non installed bison to make it work as an installed one. # We want to use the files shipped with Bison. -BISON_SIMPLE='@top_srcpath@/src/bison.simple' +BISON_SIMPLE='@abs_top_srcdir@/src/bison.simple' export BISON_SIMPLE -BISON_HAIRY='@top_srcpath@/src/bison.hairy' +BISON_HAIRY='@abs_top_srcdir@/src/bison.hairy' export BISON_HAIRY -exec '@top_buildpath@/src/bison' ${1+"$@"} +exec '@abs_top_builddir@/src/bison' ${1+"$@"} diff --git a/tests/calc.at b/tests/calc.at index 04d7e366..527ca4dd 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -334,17 +334,6 @@ AT_DATA_CALC_Y([$1]) AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [--yyerror-verbose])], [0], [], []) -# Some compilers issue warnings we don't want to hear about. -# Maybe some day we will have proper Autoconf macros to disable these -# warnings, but this place is not the right one for that. -# So let's keep only GCC warnings, which we know are sane. -# Well, that's only part of the story: some assemblers issue warnings -# which can be totally useless, and actually polluting. It seems that -# the best bet be to completely ignore stderr, but to pass -Werror -# to GCC. -if test "$GCC" = yes; then - CFLAGS="$CFLAGS -Werror" -fi AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [ignore]) # Test the priorities.