diff options
author | Andrei Zmievski <andrei@php.net> | 2003-12-16 22:14:56 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2003-12-16 22:14:56 +0000 |
commit | f3cfd7acda72a404f97d299439d9b75eaead5ddf (patch) | |
tree | 3b9a2a0124bb5c4d0272b397568903603730ba8e | |
parent | b28c6785a1369b5febc66185a719a3426786cbe5 (diff) | |
download | php-git-f3cfd7acda72a404f97d299439d9b75eaead5ddf.tar.gz |
Umm, let's not enable NO_RECURSE by default. The matches on some
patterns can be more than twice as slow as before.
# Maybe we should add a --disable-pcre-stack-recursion compile option
-rw-r--r-- | ext/pcre/config0.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index b9a4c7880e..02e71bd25b 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -50,7 +50,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then AC_DEFINE(HAVE_PCRE, 1, [ ]) PHP_ADD_INCLUDE($PCRE_INCDIR) - PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DNO_RECURSE) + PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10) fi PHP_SUBST(PCRE_SHARED_LIBADD) fi |