php-src/ext/ereg/config.w32
Kalle Sommer Nielsen 1cabc8cd3a Allow ereg to be built as shared on Windows
## I know that we may remove ereg in trunk, but since the core doesn't depend on 
## ereg, then I don't see any reason not to allow this
2010-05-24 07:44:00 +00:00

11 lines
444 B
JavaScript

// $Id$
// 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');
}