From 2509eba631e6dd81d8e7cedb7bcf70f700a9e1a4 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 17 Aug 2009 09:22:41 +0200 Subject: [PATCH] build: lower gettext requirements. Bison was uselessly requiring the formatstring macros from gettext, which resulted in mo files not being installed on systems that perfectly supported Bison mo files. Lower the requirement. http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html * configure.ac: Require need-ngettext instead of need-formatstring-macros. Reported by Martin Jabocs. Suggested by Bruno Haible. * INSTALL: Restructure. (Internationalization): New. (cherry picked from commit b9e42bb439643b6b193ba44696c370bbb35d2ec0) --- ChangeLog | 16 ++++++++++++++++ README | 37 ++++++++++++++++++++++++++----------- THANKS | 1 + configure.ac | 2 +- 4 files changed, 44 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e46a6e5..715fbf2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2009-08-17 Akim Demaille + + build: lower gettext requirements. + + Bison was uselessly requiring the formatstring macros from + gettext, which resulted in mo files not being installed on systems + that perfectly supported Bison mo files. Lower the requirement. + http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html + + * configure.ac: Require need-ngettext instead of + need-formatstring-macros. + Reported by Martin Jabocs. + Suggested by Bruno Haible. + * INSTALL: Restructure. + (Internationalization): New. + 2009-08-14 Joel E. Denny maint: fix use of copyright year intervals. diff --git a/README b/README index 34a524db..2bf62bf2 100644 --- a/README +++ b/README @@ -1,27 +1,42 @@ This package contains the GNU Bison parser generator. -See the file INSTALL for generic compilation and installation instructions. +* Installation +** Build +See the file INSTALL for generic compilation and installation +instructions. +Bison requires GNU m4 1.4.6 or later. See: + + ftp://ftp.gnu.org/gnu/m4/m4-1.4.6.tar.gz + +** Internationalization +Bison supports two catalogues: one for Bison itself (i.e., for the +maintainer-side parser generation), and one for the generated parsers +(i.e., for the user-side parser execution). The requirements between +both differ: bison needs ngettext, the generated parsers do not. To +simplify the build system, neither are installed if ngettext is not +supported, even if generated parsers could have been localized. See +http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html for +more details. + +* Questions See the section FAQ in the documentation (doc/bison.info) for frequently asked questions. The documentation is also available in PDF and HTML, provided you have a recent version of Texinfo installed: run "make pdf" or "make html". -Bison requires GNU m4 1.4.6 or later. See: - -ftp://ftp.gnu.org/gnu/m4/m4-1.4.6.tar.gz - -Bison can work with pre-1.4.6 distributions of GNU m4 if they are -sufficiently patched, but if you encounter a bug with an older -distribution and report a bug we will probably suggest that you -upgrade to 1.4.6 as the first step in trying to fix it. +If you have questions about using Bison and the documentation does +not answer them, please send mail to . +* Bug reports Please send bug reports to . Please include the version number from `bison --version', and a complete, self-contained test case in each bug report. -If you have questions about using Bison and the documentation does -not answer them, please send mail to . + +Local Variables: +mode: outline +End: ----- diff --git a/THANKS b/THANKS index 4c847f52..f7ae63fd 100644 --- a/THANKS +++ b/THANKS @@ -51,6 +51,7 @@ Keith Browne kbrowne@legato.com Laurent Mascherpa laurent.mascherpa@epita.fr Magnus Fromreide magfr@lysator.liu.se Marc Autret autret_m@epita.fr +Martin Jacobs martin.jacobs@arcor.de Martin Mokrejs mmokrejs@natur.cuni.cz Martin Nylin martin.nylin@linuxmail.org Matt Kraai kraai@alumni.cmu.edu diff --git a/configure.ac b/configure.ac index 0954c31b..a3e42923 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,7 @@ BISON_PREREQ_TIMEVAR # Gettext. # We've never tested with gettext versions before 0.15, so play it safe. -AM_GNU_GETTEXT([external], [need-formatstring-macros]) +AM_GNU_GETTEXT([external], [need-ngettext]) AM_GNU_GETTEXT_VERSION([0.15]) BISON_I18N -- 2.45.2