From 927f7817082cf856881979f6b80b8dddc96b7d44 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 30 Sep 2002 12:27:31 +0000 Subject: [PATCH] * configure.ac: Update AC_OUTPUT and AM_CONFIG_HEADER invocations. * tests/cxx-type.at (declarator): Don't rely on NDEBUG being not defined. --- ChangeLog | 7 +++++++ THANKS | 1 + configure.ac | 15 ++++++++------- tests/cxx-type.at | 5 +++-- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index e0b4cb47..b4ed0ebf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-09-30 Art Haas + + * configure.ac: Update AC_OUTPUT and AM_CONFIG_HEADER + invocations. + * tests/cxx-type.at (declarator): Don't rely on NDEBUG being not + defined. + 2002-09-27 Akim Demaille Version 1.49c. diff --git a/THANKS b/THANKS index ba76e761..e629602a 100644 --- a/THANKS +++ b/THANKS @@ -7,6 +7,7 @@ Albert Chin-A-Young china@thewrittenword.com Alexander Belopolsky alexb@rentec.com Andreas Schwab schwab@suse.de Arnold Robbins arnold@skeeve.com +Art Haas ahaas@neosoft.com Benoit Perrot benoit.perrot@epita.fr Bruce Lilly blilly@erols.com Cris Bailiff c.bailiff+bison@awayweb.com diff --git a/configure.ac b/configure.ac index 8a1795fa..1a54406d 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_INIT([GNU Bison], [1.49d], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE([1.7 check-news readme-alpha dist-bzip2]) -AM_CONFIG_HEADER(config.h:config.hin) +AC_CONFIG_HEADERS([config.h:config.hin]) # Initialize the test suite. AC_CONFIG_TESTDIR(tests) @@ -110,9 +110,10 @@ BISON_PREREQ_TIMEVAR AM_GNU_GETTEXT(external, need-ngettext) AM_GNU_GETTEXT_VERSION(0.11.5) -AC_OUTPUT([Makefile - config/Makefile - po/Makefile.in - data/Makefile - lib/Makefile src/Makefile doc/Makefile - m4/Makefile]) +AC_CONFIG_FILES([Makefile + config/Makefile + po/Makefile.in + data/Makefile + lib/Makefile src/Makefile doc/Makefile + m4/Makefile]) +AC_OUTPUT diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 1c67c712..d41c361d 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -93,8 +93,9 @@ declarator : ID { printf ("\"%s\" ", ]$[1); } int main (int argc, char** argv) { - assert (argc = 2); - assert (freopen (argv[1], "r", stdin)); + assert (argc == 2); + if (!freopen (argv[1], "r", stdin)) + abort (); exit (yyparse ()); } -- 2.45.2