intl: Unbreak intl build with bison 3 when no regeneration is needed [PR92008]
[deliverable/binutils-gdb.git] / intl / ChangeLog
index b46e5adefbfcc74dc5fe98e12527b5fd2412b14c..d88f9266838a07bc7ddeec1ca739cdf17c7f2b40 100644 (file)
@@ -1,3 +1,61 @@
+2020-04-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/92008
+       * configure.ac: Remove HAVE_BISON3 AC_DEFINE.
+       * Makefile.in (HEADERS): Add plural-config.h.
+       (.y.c): Also create plural-config.h.
+       (dcigettext.o loadmsgcat.o plural.o plural-exp.o): Also depend
+       on plural-config.h.
+       (plural-config.h): Depend on plural.c.
+       * plural-exp.h: Include plural-config.h.  Use USE_BISON3 instead
+       of HAVE_BISON3.
+       * plural.y: Use USE_BISON3 instead of HAVE_BISON3.
+       * configure: Regenerated.
+       * plural.c: Regenerated.
+       * config.h.in: Regenerated.
+       * plural-config.h: Generated.
+
+2020-04-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/92008
+       * configure.ac: Add check for bison >= 3, AC_DEFINE HAVE_BISON3
+       and AC_SUBST BISON3_YES and BISON3_NO.
+       * Makefile.in (.y.c): Prefix $(YACC) invocation with @BISON3_NO@,
+       add @BISON3_YES@ prefixed rule to adjust the *.y source using sed
+       and adjust output afterwards.
+       * plural-exp.h (PLURAL_PARSE): If HAVE_BISON3 is defined, use
+       struct parse_args * type for arg instead of void *.
+       * plural.y: Add magic /* BISON3 ... */ comments with bison >= 3
+       directives.
+       (YYLEX_PARAM, YYPARSE_PARAM): Don't define if HAVE_BISON3 is defined.
+       (yylex, yyerror): Adjust prototypes and definitions if HAVE_BISON3
+       is defined.
+       * plural.c: Regenerated.
+       * config.h.in: Regenerated.
+       * configure: Regenerated.
+
+2020-02-20  Alan Modra  <amodra@gmail.com>
+
+       * aclocal.m4: Regenerate.
+
+2020-02-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure: Regenerate.
+
+2019-01-19  Nick Clifton  <nickc@redhat.com>
+
+       * aclocal.m4: Regenerate.
+
+2018-11-09  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * configure: Regenerate.
+
+2018-08-02  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext,
+       dcgettext, ngettext, dngettext, dcngettext): Backport changes
+       from upstream gettext.
+
 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
 
        * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
This page took 0.025182 seconds and 4 git commands to generate.