php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69055
Patch fix_bison_check revision 2016-10-14 15:33 UTC by auroraeosrose@php.net

Patch fix_bison_check for *Compile Issues Bug #69055

Patch version 2016-10-14 15:33 UTC

Return to Bug #69055 | Download this patch
Patch Revisions:

Developer: auroraeosrose@php.net

diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index 7fa8c99..0375c9c 100644
--- a/Zend/acinclude.m4
+++ b/Zend/acinclude.m4
@@ -9,7 +9,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
   # non-working versions, e.g. "3.0 3.2";
   # remove "none" when introducing the first incompatible bison version an 
   # separate any following additions by spaces
-  bison_version_exclude="3.0"
+  bison_version_exclude="3.0.0"
 
   # for standalone build of Zend Engine
   test -z "$SED" && SED=sed
@@ -21,7 +21,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
       php_cv_bison_version=invalid
       if test -n "$bison_version_vars"; then
         set $bison_version_vars
-        bison_version="${1}.${2}"
+        bison_version="${1}.${2}.${3}"
         bison_version_num="`expr ${1} \* 100 + ${2}`"
         if test $bison_version_num -ge $bison_version_min; then
           php_cv_bison_version="$bison_version (ok)"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC