summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorElizabeth Marie Smith <auroraeosrose@php.net>2008-05-14 03:13:17 +0000
committerElizabeth Marie Smith <auroraeosrose@php.net>2008-05-14 03:13:17 +0000
commit7d4dfa8ee42105a1248c2189a88435ab5fdfc520 (patch)
tree791b4ea52cebaaab7d43ebd837d1cef57104771a /ext/ereg
parent6552d917430e6fa3009e17925985595f6f49c635 (diff)
downloadphp-git-7d4dfa8ee42105a1248c2189a88435ab5fdfc520.tar.gz
Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/config.w3212
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/ereg/config.w32 b/ext/ereg/config.w32
index 9a25368df0..59cdb04685 100644
--- a/ext/ereg/config.w32
+++ b/ext/ereg/config.w32
@@ -1,7 +1,11 @@
// $Id$
// vim:ft=javascript
-EXTENSION("ereg", "ereg.c", false /* never 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');
+ARG_WITH("ereg", "POSIX extended regular expressions", "yes");
+if (PHP_EREG != "no") {
+
+ EXTENSION("ereg", "ereg.c", false /* never 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');
+} \ No newline at end of file