summaryrefslogtreecommitdiff
path: root/ext/pcre/config.w32
blob: 1b37bbe0938a9bfb94752d37532b54053c72cbd6 (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,
		"-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -Iext/pcre/pcrelib -DNO_RECURSE");
	ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_compile.c pcre_config.c pcre_dfa_exec.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_info.c pcre_maketables.c pcre_ord2utf8.c pcre_printint.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_try_flipped.c pcre_ucp_findchar.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c", "pcre");

	AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');
	AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library');
}