summaryrefslogtreecommitdiff
path: root/ext/mbstring/config.m4
blob: 1718a91464be1396007a61db802c338c94e6c4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dnl $Id$
dnl config.m4 for extension mbstring

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_EXTENSION(mbstring, $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)
])