cvs: php4 /ext/mbstring config.m4
| From: | Moriyoshi Koizumi | Date: | Mon, 25 Nov 2002 17:44:14 +0000 |
| Subject: | cvs: php4 /ext/mbstring config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16640@lists.php.net to get a copy of this message | ||
moriyoshi Mon Nov 25 12:44:14 2002 EDT
Modified files:
/php4/ext/mbstring config.m4
Log:
@- Enabled mbregex by default when mbstring is also enabled (Moriyoshi)
Index: php4/ext/mbstring/config.m4
diff -u php4/ext/mbstring/config.m4:1.29 php4/ext/mbstring/config.m4:1.30
--- php4/ext/mbstring/config.m4:1.29 Sat Nov 23 15:08:44 2002
+++ php4/ext/mbstring/config.m4 Mon Nov 25 12:44:14 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.29 2002/11/23 20:08:44 moriyoshi Exp $
+dnl $Id: config.m4,v 1.30 2002/11/25 17:44:14 moriyoshi Exp $
dnl
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
@@ -34,10 +34,9 @@
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