This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Require bison 2.7 or newer for regenerating intl/plural.y
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 11 Dec 2014 17:35:14 +0000
- Subject: Re: [PATCH] Require bison 2.7 or newer for regenerating intl/plural.y
- Authentication-results: sourceware.org; auth=none
- References: <1418319179-18894-1-git-send-email-will dot newton at linaro dot org>
On Thu, 11 Dec 2014, Will Newton wrote:
> The merge of the latest gettext code introduced changes to the yacc
> parser source that are incompatible with versions of bison older
> than 2.7. Add a configure check for the appropriate versions and
> document the requirement in INSTALL.
>
> ChangeLog:
>
> 2014-12-11 Will Newton <will.newton@linaro.org>
>
> * INSTALL: Document that we require bison 2.7 or above.
INSTALL is a generated file. You need to update manual/install.texi then
regenerate INSTALL (with makeinfo 4.x).
> +AC_CHECK_PROG_VER(BISON, bison, --version,
> + [bison (GNU Bison) \([0-9]*\.[0-9.]*\)],
> + [2.7*|[3-9].*],
Should allow for versions with two or more digits to avoid failing for
bison 10.
--
Joseph S. Myers
joseph@codesourcery.com