summaryrefslogtreecommitdiff
path: root/ext/pcre/config.w32
blob: 88ac189782500cdd2c5da48f920808ce27b6e09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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');
}