cvs: php4 /ext/mbstring config.m4 /main config.w32.h.in
| From: | Rui Hirokawa | Date: | Tue, 03 Sep 2002 05:18:20 +0000 |
| Subject: | cvs: php4 /ext/mbstring config.m4 /main config.w32.h.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13794@lists.php.net to get a copy of this message | ||
hirokawa Tue Sep 3 01:18:20 2002 EDT
Modified files:
/php4/main config.w32.h.in
/php4/ext/mbstring config.m4
Log:
--enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables.
the same functionality is controllable in php.ini option mbstring.encoding_translation
(default:Off).
Index: php4/main/config.w32.h.in
diff -u php4/main/config.w32.h.in:1.11 php4/main/config.w32.h.in:1.12
--- php4/main/config.w32.h.in:1.11 Mon Sep 2 14:03:24 2002
+++ php4/main/config.w32.h.in Tue Sep 3 01:18:20 2002
@@ -2,7 +2,7 @@
Build Configuration for Win32.
This has only been tested with MS VisualC++ 6 (and later).
- $Id: config.w32.h.in,v 1.11 2002/09/02 18:03:24 mfischer Exp $
+ $Id: config.w32.h.in,v 1.12 2002/09/03 05:18:20 hirokawa Exp $
*/
/* Default PHP / PEAR directories */
@@ -48,7 +48,6 @@
#define HAVE_MBSTR_KR 1
#define HAVE_MBSTR_RU 1
#define HAVE_MBSTR_TW 1
-#define MBSTR_ENC_TRANS 1
/* Enable / Disable MySQL extension (default: enabled) */
#define HAVE_MYSQL 1
Index: php4/ext/mbstring/config.m4
diff -u php4/ext/mbstring/config.m4:1.22 php4/ext/mbstring/config.m4:1.23
--- php4/ext/mbstring/config.m4:1.22 Sun Aug 4 10:20:11 2002
+++ php4/ext/mbstring/config.m4 Tue Sep 3 01:18:20 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.22 2002/08/04 14:20:11 helly Exp $
+dnl $Id: config.m4,v 1.23 2002/09/03 05:18:20 hirokawa Exp $
dnl
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
@@ -31,8 +31,6 @@
AC_DEFINE(HAVE_MBSTR_RU,1,[whether to have russian support])
fi
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, $ext_shared)
-else
- PHP_MBSTR_ENC_TRANS=no
fi
@@ -43,10 +41,5 @@
AC_DEFINE(HAVE_MBREGEX, 1, [whether to have multibyte regex support])
fi
-PHP_ARG_ENABLE(mbstr_enc_trans, whether to enable encoding translation,
-[ --enable-mbstr-enc-trans Enable input encoding translation], no)
-if test "$PHP_MBSTR_ENC_TRANS" != "no" ; then
- AC_DEFINE(MBSTR_ENC_TRANS, 1, [whether to have encoding translation])
-fi