summaryrefslogtreecommitdiff
path: root/ext/pcre/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/config.w32')
-rw-r--r--ext/pcre/config.w3213
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32
new file mode 100644
index 0000000000..88ac189782
--- /dev/null
+++ b/ext/pcre/config.w32
@@ -0,0 +1,13 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_WITH("pcre-regex", "Perl Compatible Regular Expressions", "yes");
+
+if (PHP_PCRE_REGEX == "yes") {
+ EXTENSION("pcre", "php_pcre.c", PHP_PCRE_REGEX_SHARED,
+ "-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -Iext/pcre/pcrelib");
+ ADD_SOURCES("ext/pcre/pcrelib", "maketables.c get.c study.c pcre.c", "pcre");
+
+ AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');
+ AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library');
+}