|
Lines 1-5
Link Here
|
| 1 |
dnl |
1 |
dnl |
| 2 |
dnl $Id: php4.4.0-pcre-security.patch,v 1.1 2005/09/18 20:56:51 hollow Exp $ |
2 |
dnl $Id: php4.4.0-pcre-security.patch,v 1.1 2005/09/18 20:56:51 hollow Exp $ |
| 3 |
dnl |
3 |
dnl |
| 4 |
dnl By default we'll compile and link against the bundled PCRE library |
4 |
dnl By default we'll compile and link against the bundled PCRE library |
|
Lines 13-19
PHP_ARG_WITH(pcre-regex,for PCRE support
Link Here
|
| 13 |
if test "$PHP_PCRE_REGEX" != "no"; then |
13 |
if test "$PHP_PCRE_REGEX" != "no"; then |
| 14 |
if test "$PHP_PCRE_REGEX" = "yes"; then |
14 |
if test "$PHP_PCRE_REGEX" = "yes"; then |
| 15 |
PHP_NEW_EXTENSION(pcre, pcrelib/maketables.c pcrelib/get.c pcrelib/study.c pcrelib/pcre.c php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -I@ext_srcdir@/pcrelib) |
15 |
PHP_NEW_EXTENSION(pcre, pcrelib/pcre_chartables.c pcrelib/pcre_compile.c pcrelib/pcre_config.c pcrelib/pcre_dfa_exec.c pcrelib/pcre_exec.c pcrelib/pcre_fullinfo.c pcrelib/pcre_get.c pcrelib/pcre_globals.c pcrelib/pcre_info.c pcrelib/pcre_maketables.c pcrelib/pcre_ord2utf8.c pcrelib/pcre_printint.c pcrelib/pcre_refcount.c pcrelib/pcre_study.c pcrelib/pcre_tables.c pcrelib/pcre_try_flipped.c pcrelib/pcre_ucp_findchar.c pcrelib/pcre_valid_utf8.c pcrelib/pcre_version.c pcrelib/pcre_xclass.c php_pcre.c, $ext_shared,,-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -I@ext_srcdir@/pcrelib) |
| 16 |
PHP_ADD_BUILD_DIR($ext_builddir/pcrelib) |
16 |
PHP_ADD_BUILD_DIR($ext_builddir/pcrelib) |
| 17 |
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ]) |
17 |
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ]) |
| 18 |
else |
18 |
else |
|
Lines 50-56
if test "$PHP_PCRE_REGEX" != "no"; then
Link Here
|
| 50 |
AC_DEFINE(HAVE_PCRE, 1, [ ]) |
50 |
AC_DEFINE(HAVE_PCRE, 1, [ ]) |
| 51 |
PHP_ADD_INCLUDE($PCRE_INCDIR) |
51 |
PHP_ADD_INCLUDE($PCRE_INCDIR) |
| 52 |
PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000) |
52 |
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) |
| 53 |
fi |
53 |
fi |
| 54 |
PHP_SUBST(PCRE_SHARED_LIBADD) |
54 |
PHP_SUBST(PCRE_SHARED_LIBADD) |
| 55 |
fi |
55 |
fi |