summaryrefslogtreecommitdiff
path: root/ext/mbstring/config.m4
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2002-11-25 17:44:14 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2002-11-25 17:44:14 +0000
commit53fba5f8a616b40b99de6d8cae10c070707eec2f (patch)
tree28e1a31bd344b22da96d7d46586e89730fafc206 /ext/mbstring/config.m4
parent12d4a19fce6def29ee67eff810e9e84ee038bc8a (diff)
downloadphp-git-53fba5f8a616b40b99de6d8cae10c070707eec2f.tar.gz
@- Enabled mbregex by default when mbstring is also enabled (Moriyoshi)
Diffstat (limited to 'ext/mbstring/config.m4')
-rw-r--r--ext/mbstring/config.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4
index 35141ecfec..af99d893e1 100644
--- a/ext/mbstring/config.m4
+++ b/ext/mbstring/config.m4
@@ -34,10 +34,9 @@ if test "$PHP_MBSTRING" != "no"; then
PHP_NEW_EXTENSION(mbstring, mbfilter_ja.c mbfilter_cn.c mbfilter_tw.c mbfilter_kr.c mbfilter_ru.c mbfilter.c mbstring.c mbregex.c php_mbregex.c html_entities.c php_unicode.c mb_gpc.c, $ext_shared)
fi
-
PHP_ARG_ENABLE(mbregex, whether to enable multibyte regex support,
-[ --enable-mbregex Enable multibyte regex support], no, no)
+[ --disable-mbregex Disable multibyte regex support], yes, no)
-if test "$PHP_MBREGEX" != "no" ; then
+if test "$PHP_MBREGEX" != "no" -a "$PHP_MBSTRING" != "no"; then
AC_DEFINE(HAVE_MBREGEX, 1, [whether to have multibyte regex support])
fi