summaryrefslogtreecommitdiff
path: root/ext/mbstring/config.m4
blob: 875b8f928a944be0bda4d16943aeade5b47196c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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_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)
])

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)
])