cvs: php4 /ext/mbstring config.m4

From: Date: Wed, 17 Jul 2002 00:17:44 +0000
Subject: cvs: php4 /ext/mbstring config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12859@lists.php.net to get a copy of this message
yohgaki Tue Jul 16 20:17:44 2002 EDT Modified files: /php4/ext/mbstring config.m4 Log: Changed configure option order to make it clear option dependecy to users. Index: php4/ext/mbstring/config.m4 diff -u php4/ext/mbstring/config.m4:1.19 php4/ext/mbstring/config.m4:1.20 --- php4/ext/mbstring/config.m4:1.19 Tue Jul 16 20:11:32 2002 +++ php4/ext/mbstring/config.m4 Tue Jul 16 20:17:43 2002 @@ -1,15 +1,15 @@ dnl -dnl $Id: config.m4,v 1.19 2002/07/17 00:11:32 yohgaki Exp $ +dnl $Id: config.m4,v 1.20 2002/07/17 00:17:43 yohgaki Exp $ dnl -PHP_ARG_ENABLE(mbstr_enc_trans, whether to enable encoding translation, -[ --enable-mbstr-enc-trans Enable input encoding translation], no) +PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support, +[ --disable-mbstring Disable multibyte string support], yes) PHP_ARG_ENABLE(mbregex, whether to enable multibyte regex support, -[ --disable-mbregex Disable multibyte regex support], yes) +[ --disable-mbregex Disable multibyte regex support], yes) -PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support, -[ --disable-mbstring Disable multibyte string support], yes) +PHP_ARG_ENABLE(mbstr_enc_trans, whether to enable encoding translation, +[ --enable-mbstr-enc-trans Enable input encoding translation], no) if test "$PHP_MBSTRING" != "no"; then AC_DEFINE(HAVE_MBSTRING,1,[whether to have multibyte string support]) @@ -41,10 +41,11 @@ PHP_MBSTR_ENC_TRANS=no fi +if test "$MBREGEX" != "no" ; then + AC_DEFINE(HAVE_MBREGEX, 1, [whether to have multibyte regex support]) +fi + 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 have multibyte regex support]) -fi

« previous php.cvs (#12859) next »