Skip to content

Commit 8869ba3

Browse files
committed
Fix external PCRE2 version check
1 parent a4efe41 commit 8869ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pcre/config0.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ PHP_ARG_WITH(pcre-jit,,[ --with-pcre-jit Enable PCRE JIT functionality
4141
pcre_minor="$pcre_minor"0
4242
fi
4343
pcre_version=$pcre_major$pcre_minor
44-
if test "$pcre_version" -lt 660; then
45-
AC_MSG_ERROR([The PCRE extension requires PCRE library version >= 6.6])
44+
if test "$pcre_version" -lt 1030; then
45+
AC_MSG_ERROR([The PCRE extension requires PCRE library version >= 10.30])
4646
fi
4747

4848
PHP_CHECK_LIBRARY(pcre, pcre_jit_exec,

0 commit comments

Comments
 (0)