diff options
Diffstat (limited to 'ext/pcre/config.w32')
-rw-r--r-- | ext/pcre/config.w32 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32 index 02256887a1..19953ec1d5 100644 --- a/ext/pcre/config.w32 +++ b/ext/pcre/config.w32 @@ -2,14 +2,16 @@ // vim:ft=javascript EXTENSION("pcre", "php_pcre.c", false /* never shared */, - "-Iext/pcre/pcrelib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); -ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_ucd.c pcre_compile.c pcre_config.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_maketables.c pcre_newline.c pcre_ord2utf8.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c pcre_jit_compile.c", "pcre"); + "-Iext/pcre/pcre2lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); +ADD_SOURCES("ext/pcre/pcre2lib", "pcre2_auto_possess.c pcre2_chartables.c pcre2_compile.c pcre2_config.c pcre2_context.c pcre2_dfa_match.c pcre2_error.c pcre2_jit_compile.c pcre2_maketables.c pcre2_match.c pcre2_match_data.c pcre2_newline.c pcre2_ord2utf.c pcre2_pattern_info.c pcre2_serialize.c pcre2_string_utils.c pcre2_study.c pcre2_substitute.c pcre2_substring.c pcre2_tables.c pcre2_ucd.c pcre2_valid_utf.c pcre2_xclass.c pcre2_find_bracket.c pcre2_convert.c ", "pcre"); ADD_DEF_FILE("ext\\pcre\\php_pcre.def"); AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library'); AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library'); +AC_DEFINE('PCRE2_CODE_UNIT_WIDTH', 8, 'Have PCRE library'); +AC_DEFINE("PCRE2_STATIC", 1, ""); PHP_PCRE="yes"; -PHP_INSTALL_HEADERS("ext/pcre", "php_pcre.h pcrelib/"); +PHP_INSTALL_HEADERS("ext/pcre", "php_pcre.h pcre2lib/"); ADD_FLAG("CFLAGS_PCRE", " /D HAVE_CONFIG_H"); ARG_WITH("pcre-jit", "Enable PCRE JIT support", "yes"); |