php-src/ext/mbstring/config.m4

40 lines
1000 B
Plaintext
Raw Normal View History

2001-11-30 19:00:13 +00:00
dnl
2001-05-01 01:52:55 +00:00
dnl $Id$
2001-11-30 19:00:13 +00:00
dnl
2001-05-01 01:52:55 +00:00
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
[ --enable-mbstring Enable multibyte string support])
2001-05-01 01:52:55 +00:00
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)
2001-05-01 01:52:55 +00:00
fi
AC_MSG_CHECKING(whether to enable japanese encoding translation)
AC_ARG_ENABLE(mbstr_enc_trans,
2001-11-30 19:00:13 +00:00
[ --enable-mbstr-enc-trans
Enable japanese encoding translation],[
2001-05-01 01:52:55 +00:00
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)
])