From: Rui Hirokawa Date: Tue, 3 Sep 2002 05:18:20 +0000 (+0000) Subject: --enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie... X-Git-Tag: RELEASE_0_91~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7678ada2b8a78a63124525a5d930370ba61bf6db;p=php --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). --- diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index a0656c11f3..ec02b68aaf 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -31,8 +31,6 @@ if test "$PHP_MBSTRING" != "no"; then 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 @@ if test "$MBREGEX" != "no" ; then 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 diff --git a/main/config.w32.h.in b/main/config.w32.h.in index fa5b19a24f..c6c1c050b0 100644 --- a/main/config.w32.h.in +++ b/main/config.w32.h.in @@ -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