php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #78750
Patch bison-re2c-version.patch revision 2020-01-13 21:57 UTC by php-bugs-2019 at ryandesign dot com

Patch bison-re2c-version.patch for *Compile Issues Bug #78750

Patch version 2020-01-13 21:57 UTC

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

Developer: php-bugs-2019@ryandesign.com

https://bugs.php.net/bug.php?id=78750
--- a/configure.orig	2019-12-24 16:15:30.000000000 -0600
+++ b/configure	2019-12-24 16:21:04.000000000 -0600
@@ -5377,6 +5377,7 @@
 $as_echo_n "checking for bison version... " >&6; }
 
     php_bison_version=$($YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | tr -d a-z)
+    [ -z "$php_bison_version" ] && php_bison_version=0.0.0
     ac_IFS=$IFS; IFS="."
     set $php_bison_version
     IFS=$ac_IFS
@@ -5474,6 +5475,7 @@
 $as_echo_n "checking for re2c version... " >&6; }
 
     php_re2c_version=$($RE2C --version | cut -d ' ' -f 2 2>/dev/null)
+    [ -z "$php_re2c_version" ] && php_re2c_version=0.0.0
     ac_IFS=$IFS; IFS="."
     set $php_re2c_version
     IFS=$ac_IFS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC