xref: /PHP-8.0/ext/pcre/config.w32 (revision aa9433e9)
1// vim:ft=javascript
2
3EXTENSION("pcre", "php_pcre.c", false /* never shared */,
4		"-Iext/pcre/pcre2lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
5ADD_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 pcre2_extuni.c pcre2_script_run.c", "pcre");
6ADD_DEF_FILE("ext\\pcre\\php_pcre.def");
7
8AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');
9AC_DEFINE('PCRE2_CODE_UNIT_WIDTH', 8, 'Have PCRE library');
10AC_DEFINE("PCRE2_STATIC", 1, "");
11PHP_PCRE="yes";
12PHP_INSTALL_HEADERS("ext/pcre", "php_pcre.h pcre2lib/");
13ADD_FLAG("CFLAGS_PCRE", " /D HAVE_CONFIG_H");
14
15ARG_WITH("pcre-jit", "Enable PCRE JIT support", "yes");
16if (PHP_PCRE_JIT != "no") {
17	AC_DEFINE('HAVE_PCRE_JIT_SUPPORT', 1, 'PCRE library');
18}
19