summaryrefslogtreecommitdiff
path: root/ext/ereg/config.w32
blob: 4cce6f8e52cbdb88fb4b7012f151cd2d8d67868f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// $Id: config.w32 306241 2010-12-11 22:18:10Z pajoye $
// vim:ft=javascript

ARG_WITH("ereg", "POSIX extended regular expressions", "yes");
if (PHP_EREG != "no") {

	EXTENSION("ereg", "ereg.c", PHP_EREG_SHARED, "-Dregexec=php_regexec -Dregerror=php_regerror -Dregfree=php_regfree -Dregcomp=php_regcomp -Iext/ereg/regex");
	ADD_SOURCES("ext/ereg/regex", "regcomp.c regexec.c regerror.c regfree.c", "ereg");
	AC_DEFINE('REGEX', 1, 'Bundled regex');
	AC_DEFINE('HSREGEX', 1, 'Bundled regex');
	PHP_INSTALL_HEADERS("ext/ereg", "php_ereg.h php_regex.h regex/");
}