]> git.saurik.com Git - bison.git/commitdiff
Add --disable-yacc.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2003 06:32:12 +0000 (06:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2003 06:32:12 +0000 (06:32 +0000)
ChangeLog
NEWS

index 92dab99ca2ded7f46da90e0461525f3eb0bb78b5..1bbfb314975555887051d71e783856e024875a78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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,
        since GNU C++ (as of 3.2.1) does not allow attributes on labels.
        Problem reported by Nelson H. F. Beebe.
        * src/scan-skel.l (QPUTS): Omit redundant `;' from macro definition.
        ([^@\n]): Renamed from [^@\n]+ so that the token buffer does not
        grow to a huge size with typical invocation.
-       
+
        * lib/hash.c (_Bool, bool, false, true, __bool_true_false_are_defined):
        Use the pattern recommended by Autoconf 2.57, except also protect
        against double-definition.
        * src/system.h: Likewise.
        Portability issues reported by Nelson H. F. Beebe.
-       
+
        * data/glr.c (yybool): Renamed from bool, to avoid collisions in C.
        All uses changed.  Provide a definition in both C and C++.
        (yytrue, yyfalse): Define even if defined (__cplusplus).
 
        * lib/bitset_stats.c (bitset_stats_list): Remove unused var.
        Reported by Nelson H. F. Beebe.
-       
+
        * src/scan-skel.l ("@oline@"): Output lineno+1, not lineno.
 
 2003-01-02  Paul Eggert  <eggert@twinsun.com>
@@ -60,7 +67,7 @@
        * src/symtab.c (symbol_make_alias): Set type of SYMVAL to be
        that of SYM's type.  This fixes Debian bug 168069, reported by
        Thomas Olsson.
-       
+
 2002-12-28  Paul Eggert  <eggert@twinsun.com>
 
        Version 1.75f.
        * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR):
        Error locations include the locations of all the tokens that were
        discarded, not just the last token.
-       
+
 2002-12-26  Paul Eggert  <eggert@twinsun.com>
 
        * src/files.c: Include quote.h.
 
        Don't use m4_include on relative file names, as it doesn't work as
        desired if there happens to be a file with that name under ".".
-       
+
        * m4sugar/version.m4: Remove; it was included but it wasn't used.
        * data/Makefile.am (dist_m4sugar_DATA): Remove m4sugar/version.m4.
        * data/m4sugar/m4sugar.m4: Don't include m4sugar/version.m4.
        specifying a file to include; don't rely on include path, as
        it's unreliable when the working file contains a file with
        that name.
-       
+
 2002-12-25  Paul Eggert  <eggert@twinsun.com>
 
        Remove obsolete references to bison.simple and bison.hairy.
        lookahead symbol, and which sets yychar in parser actions) and it
        disagreed with the Bison documentation.  Bug
        reported by Andrew Walrond.
-       
+
        * data/yacc.c (YYTRANSLATE): Don't check for negative argument,
        as the caller now does that.
        (yyclearin, YYBACKUP, yyparse): Use yychar, not yytoken.
        as an alias for bison y.
 
        * po/LINGUAS: Add da.
-       
+
        * src/getargs.c (__GNU_LIBRARY__) [lint]: Define to work around
        problem with latest <getopt.h>.
        (HACK_FOR___GNU_LIBRARY___PROTOTYPE): New macro.
diff --git a/NEWS b/NEWS
index f10f2832145cc435e274840b274fd00536432ee4..c33568229767f46a442cc0d76b9851c825d66f82 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 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.
+\f
 Changes in version 1.875, 2003-01-01:
 
 * 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
   ago, but nobody noticed until we recently asked someone to try
   building Bison with a K&R C compiler.
-
+\f
 Changes in version 1.75, 2002-10-14:
 
 * 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
   action, and is equal to the $$ of the first mid-rule action.
-
+\f
 Changes in version 1.50, 2002-10-04:
 
 * GLR parsing