sniper Sat Aug 30 17:57:29 2003 EDT Modified files: /php-src/ext/mbstring config.m4 Log: libmbfl is required always Index: php-src/ext/mbstring/config.m4 diff -u php-src/ext/mbstring/config.m4:1.35 php-src/ext/mbstring/config.m4:1.36 --- php-src/ext/mbstring/config.m4:1.35 Sat Aug 30 17:32:10 2003 +++ php-src/ext/mbstring/config.m4 Sat Aug 30 17:57:29 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.35 2003/08/30 21:32:10 sniper Exp $ +dnl $Id: config.m4,v 1.36 2003/08/30 21:57:29 sniper Exp $ dnl AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [ @@ -86,7 +86,8 @@ ]) AC_DEFUN([PHP_MBSTRING_SETUP_LIBMBFL], [ - if test "$PHP_LIBMBFL" = "yes"; then + dnl libmbfl is required and can not be disabled + if test "$PHP_LIBMBFL" = "yes" || test "$PHP_LIBMBFL" = "no"; then dnl dnl Bundled libmbfl dnl @@ -191,11 +192,6 @@ -LPHP_LIBMBFL/lib ]) fi - - dnl - dnl Common libmfl config - dnl - AC_DEFINE([HAVE_LIBMBFL], 1, [whether to have libmbfl support]) ]) dnl @@ -208,9 +204,9 @@ PHP_ARG_ENABLE([mbregex], [whether to enable multibyte regex support], [ --disable-mbregex MBSTRING: Disable multibyte regex support], yes, no) -PHP_ARG_WITH(libmbfl, [for libmbfl support], -[ --with-libmbfl[=DIR] MBSTRING: Include libmbfl support. DIR is the libmbfl install prefix. - If DIR is not set, the bundled libmbfl will be used.], no, no) +PHP_ARG_WITH(libmbfl, [for external libmbfl], +[ --with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl install prefix. + If DIR is not set, the bundled libmbfl will be used.], yes, no) if test "$PHP_MBSTRING" != "no"; then AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support]) @@ -237,9 +233,7 @@ PHP_MBSTRING_SETUP_MBREGEX fi - if test "$PHP_LIBMBFL" != "no"; then - PHP_MBSTRING_SETUP_LIBMBFL - fi - + dnl libmbfl is required + PHP_MBSTRING_SETUP_LIBMBFL PHP_MBSTRING_EXTENSION fi
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php