mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
re2c 0.96 is the one that works (tm)
This commit is contained in:
parent
bf85fd4f2b
commit
b85f0897a2
1 changed files with 2 additions and 2 deletions
|
@ -2007,7 +2007,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
|
|||
if test -n "$RE2C"; then
|
||||
AC_CACHE_CHECK([for re2c version], php_cv_re2c_version, [
|
||||
re2c_vernum=`echo "" | re2c --vernum 2>/dev/null`
|
||||
if test -z "$re2c_vernum" || test "$re2c_vernum" -lt "904"; then
|
||||
if test -z "$re2c_vernum" || test "$re2c_vernum" -lt "906"; then
|
||||
php_cv_re2c_version=invalid
|
||||
else
|
||||
php_cv_re2c_version="`echo "" | re2c --version | cut -d ' ' -f 2 2>/dev/null` (ok)"
|
||||
|
@ -2016,7 +2016,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
|
|||
fi
|
||||
case $php_cv_re2c_version in
|
||||
""|invalid[)]
|
||||
AC_MSG_WARN([You will need re2c 0.94 or later if you want to regenerate PHP parsers.])
|
||||
AC_MSG_WARN([You will need re2c 0.96 or later if you want to regenerate PHP parsers.])
|
||||
RE2C="exit 0;"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue