xref: /PHP-7.2/ext/pcre/config.w32 (revision 60a69dae)
1// $Id$
2// vim:ft=javascript
3
4EXTENSION("pcre", "php_pcre.c", false /* never shared */,
5		"-Iext/pcre/pcrelib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
6ADD_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");
7ADD_DEF_FILE("ext\\pcre\\php_pcre.def");
8
9AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');
10AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library');
11PHP_PCRE="yes";
12PHP_INSTALL_HEADERS("ext/pcre", "php_pcre.h pcrelib/");
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