php-src/ext/mbstring/config.m4

40 lines
1000 B
Plaintext

dnl
dnl $Id$
dnl
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
[ --enable-mbstring Enable multibyte string support])
if test "$PHP_MBSTRING" != "no"; then
AC_DEFINE(HAVE_MBSTRING,1,[ ])
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)
])