Skip to content

Commit 2aa8da8

Browse files
author
Andrei Zmievski
committed
Upgrade PCRE library to 5.0.
1 parent f3cfd7a commit 2aa8da8

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
@@ -13,7 +13,7 @@ PHP_ARG_WITH(pcre-regex,for PCRE support,
1313

1414
if test "$PHP_PCRE_REGEX" != "no"; then
1515
if test "$PHP_PCRE_REGEX" = "yes"; then
16-
PHP_NEW_EXTENSION(pcre, pcrelib/maketables.c pcrelib/get.c pcrelib/study.c pcrelib/pcre.c php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -I@ext_srcdir@/pcrelib)
16+
PHP_NEW_EXTENSION(pcre, pcrelib/maketables.c pcrelib/get.c pcrelib/study.c pcrelib/pcre.c pcrelib/ucp.c pcrelib/ucptypetable.c php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -I@ext_srcdir@/pcrelib)
1717
PHP_ADD_BUILD_DIR($ext_builddir/pcrelib)
1818
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
1919
else
@@ -50,7 +50,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
5050

5151
AC_DEFINE(HAVE_PCRE, 1, [ ])
5252
PHP_ADD_INCLUDE($PCRE_INCDIR)
53-
PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10)
53+
PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000)
5454
fi
5555
PHP_SUBST(PCRE_SHARED_LIBADD)
5656
fi

0 commit comments

Comments
 (0)