cvs: php4 /ext/mbstring config.m4

From: Date: Fri, 19 Apr 2002 06:32:26 +0000
Subject: cvs: php4 /ext/mbstring config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11214@lists.php.net to get a copy of this message
yohgaki Fri Apr 19 02:32:26 2002 EDT Modified files: /php4/ext/mbstring config.m4 Log: Enable mbstring by default. @ mbstring module is enabled by default (Yasuo) Index: php4/ext/mbstring/config.m4 diff -u php4/ext/mbstring/config.m4:1.5 php4/ext/mbstring/config.m4:1.6 --- php4/ext/mbstring/config.m4:1.5 Tue Mar 12 11:23:31 2002 +++ php4/ext/mbstring/config.m4 Fri Apr 19 02:32:26 2002 @@ -1,39 +1,25 @@ dnl -dnl $Id: config.m4,v 1.5 2002/03/12 16:23:31 sas Exp $ +dnl $Id: config.m4,v 1.6 2002/04/19 06:32:26 yohgaki Exp $ dnl -PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support, -[ --enable-mbstring Enable multibyte string support]) +PHP_ARG_ENABLE(mbstring, whether to disable multibyte string support, +[ --disable-mbstring Disable multibyte string support], yes) + +PHP_ARG_ENABLE(mbstr_enc_trans, whether to disable encoding translation, +[ --enable-mbstr-enc-trans Enable encoding translation], yes) + +PHP_ARG_ENABLE(mbregex, whether to disable multibyte regex support, +[ --enable-mbregex Enable multibyte regex support], yes) if test "$PHP_MBSTRING" != "no"; then - AC_DEFINE(HAVE_MBSTRING,1,[ ]) + AC_DEFINE(HAVE_MBSTRING,1,[whether to have multibyte string support]) PHP_NEW_EXTENSION(mbstring, mbfilter_ja.c mbfilter.c mbstring.c mbregex.c php_mbregex.c, $ext_shared) fi -AC_MSG_CHECKING(whether to enable japanese encoding translation) -AC_ARG_ENABLE(mbstr_enc_trans, -[ --enable-mbstr-enc-trans - Enable japanese encoding translation],[ - if test "$enableval" = "yes" ; then - AC_DEFINE(MBSTR_ENC_TRANS, 1, [ ]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - fi -],[ - AC_MSG_RESULT(no) -]) - -AC_MSG_CHECKING(whether to enable multibyte regex support) -AC_ARG_ENABLE(mbregex, -[ --enable-mbregex - Enable multibyte regex support],[ - if test "$enableval" = "yes" ; then - AC_DEFINE(HAVE_MBREGEX, 1, [ ]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - fi -],[ - AC_MSG_RESULT(no) -]) +if test "$PHP_MBSTR_ENC_TRANS" != "no" ; then + AC_DEFINE(MBSTR_ENC_TRANS, 1, [whether to have encoding translation]) +fi + +if test "$MBREGEX" != "no" ; then + AC_DEFINE(HAVE_MBREGEX, 1, [whether to havee multibyte regex support]) +fi

« previous php.cvs (#11214) next »