mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
MFB: Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for
recurssion limit support).
This commit is contained in:
@@ -44,8 +44,8 @@ if test "$PHP_PCRE_REGEX" != "no"; then
|
||||
pcre_minor="$pcre_minor"0
|
||||
fi
|
||||
pcre_version=$pcre_major$pcre_minor
|
||||
if test "$pcre_version" -lt 208; then
|
||||
AC_MSG_ERROR([The PCRE extension requires PCRE library version >= 2.08])
|
||||
if test "$pcre_version" -lt 660; then
|
||||
AC_MSG_ERROR([The PCRE extension requires PCRE library version >= 6.6])
|
||||
fi
|
||||
|
||||
PHP_ADD_LIBRARY_WITH_PATH(pcre, $PCRE_LIBDIR, PCRE_SHARED_LIBADD)
|
||||
|
||||
Reference in New Issue
Block a user