From: Antony Dovgal Date: Mon, 4 Dec 2006 18:01:24 +0000 (+0000) Subject: partly fix #39724 X-Git-Tag: RELEASE_1_0_0RC1~828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6aa5ed0d9c434fc9975ef8e55d4e60a1b9bdfdd2;p=php partly fix #39724 ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex) --- diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index 14c5953f19..98ecd32890 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -53,6 +53,8 @@ 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,,-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000) + PHP_SUBST(PCRE_SHARED_LIBADD) fi - PHP_SUBST(PCRE_SHARED_LIBADD) +else + PHP_PCRE=no fi diff --git a/ext/spl/config.m4 b/ext/spl/config.m4 index 4458f59c5d..0a54c5db5c 100755 --- a/ext/spl/config.m4 +++ b/ext/spl/config.m4 @@ -31,4 +31,5 @@ int main(int argc, char **argv) { AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support]) PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c spl_exceptions.c spl_observer.c, no) PHP_INSTALL_HEADERS([ext/spl], [php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_sxe.h]) + PHP_ADD_EXTENSION_DEP(spl, pcre, true) fi