Skip to content

Commit d6e16be

Browse files
committed
From d3466a04345b31dfc62d94fe994b40321a6418ec Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com> Date: Thu, 29 Sep 2016 15:43:06 -0400 Subject: [PATCH 1/1] Zend/acinclude.m4: don't warn about >=bison-3.0.1 versions. The PHP configure script will emit a warning if it thinks your bison version is insufficient: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 3.0, min: 204, excluded: 3.0). However, there is an error in the test that causes it to treat all 3.0.x versions as if they were 3.0. The result is that users get warned about a perfectly acceptable version of bison. This patch is meant only for Gentoo, where we can require a working version of bison (something newer than 3.0.1). Having done so, this patch removes the check and the WARNING. Gentoo-Bug: 593278 PHP-Bug: 69055
1 parent 2caa81b commit d6e16be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/acinclude.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
99
# non-working versions, e.g. "3.0 3.2";
1010
# remove "none" when introducing the first incompatible bison version an
1111
# separate any following additions by spaces
12-
bison_version_exclude="3.0"
12+
bison_version_exclude=""
1313
1414
# for standalone build of Zend Engine
1515
test -z "$SED" && SED=sed

0 commit comments

Comments
 (0)