Add --disable-yacc.

This commit is contained in:
Paul Eggert
2003-01-05 06:32:12 +00:00
parent a504e06dd7
commit d600ee67ee
2 changed files with 23 additions and 11 deletions

View File

@@ -1,5 +1,12 @@
2003-01-04 Paul Eggert <eggert@twinsun.com> 2003-01-04 Paul Eggert <eggert@twinsun.com>
* configure.ac (AC_ARG_ENABLE): Add --disable-yacc.
(YACC_SCRIPT, YACC_LIBRARY): New vars to AC_SUBST.
* lib/Makefile.am (lib_LIBRARIES): liby.a -> @YACC_LIBRARY@.
(EXTRA_LIBRARIES): New var, for liby.a.
* src/Makefile.am (bin_SCRIPTS): yacc -> @YACC_SCRIPT@.
(EXTRA_SCRIPTS): New var, for yacc.
* data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined, * data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined,
since GNU C++ (as of 3.2.1) does not allow attributes on labels. since GNU C++ (as of 3.2.1) does not allow attributes on labels.
Problem reported by Nelson H. F. Beebe. Problem reported by Nelson H. F. Beebe.

9
NEWS
View File

@@ -1,6 +1,11 @@
Bison News Bison News
---------- ----------
Changes in version 1.875a:
* New configure option --disable-yacc, to disable installation of the
yacc command and -ly library introduced in 1.875 for POSIX conformance.
Changes in version 1.875, 2003-01-01: Changes in version 1.875, 2003-01-01:
* The documentation license has been upgraded to version 1.2 * The documentation license has been upgraded to version 1.2
@@ -93,7 +98,7 @@ Changes in version 1.875, 2003-01-01:
later to be built. This change originally took place a few versions later to be built. This change originally took place a few versions
ago, but nobody noticed until we recently asked someone to try ago, but nobody noticed until we recently asked someone to try
building Bison with a K&R C compiler. building Bison with a K&R C compiler.
Changes in version 1.75, 2002-10-14: Changes in version 1.75, 2002-10-14:
* Bison should now work on 64-bit hosts. * Bison should now work on 64-bit hosts.
@@ -124,7 +129,7 @@ Changes in version 1.75, 2002-10-14:
was incorrectly rejected: $1 is defined in the second mid-rule was incorrectly rejected: $1 is defined in the second mid-rule
action, and is equal to the $$ of the first mid-rule action. action, and is equal to the $$ of the first mid-rule action.
Changes in version 1.50, 2002-10-04: Changes in version 1.50, 2002-10-04:
* GLR parsing * GLR parsing