1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix #78750: configure assumes yacc and re2c work

Closes GH-5681
This commit is contained in:
Peter Kokot
2020-06-07 21:53:39 +02:00
committed by George Peter Banyard
parent 2a3ac4a8e7
commit fe2afef36f

View File

@@ -1784,6 +1784,7 @@ AC_DEFUN([PHP_PROG_BISON], [
AC_MSG_CHECKING([for bison version])
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
@@ -1848,6 +1849,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
AC_MSG_CHECKING([for re2c version])
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