summaryrefslogtreecommitdiff
path: root/Zend/Zend.m4
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2008-06-29 08:21:35 +0000
committerRui Hirokawa <hirokawa@php.net>2008-06-29 08:21:35 +0000
commitc3286f32ef6e44894389679723aaf5afe101492e (patch)
treedbb709b309e78a99d114e0509e0423d5d3159154 /Zend/Zend.m4
parenta6410b3056a0d0e1af782996a93354593c8e0c76 (diff)
downloadphp-git-c3286f32ef6e44894389679723aaf5afe101492e.tar.gz
implemented again zend-multibyte for PHP 5.3
Diffstat (limited to 'Zend/Zend.m4')
-rw-r--r--Zend/Zend.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index bbb3411a4a..6de6b0cf13 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -154,6 +154,13 @@ AC_ARG_ENABLE(inline-optimization,
ZEND_INLINE_OPTIMIZATION=yes
])
+AC_ARG_ENABLE(zend-multibyte,
+[ --enable-zend-multibyte Compile with zend multibyte support], [
+ ZEND_MULTIBYTE=$enableval
+],[
+ ZEND_MULTIBYTE=no
+])
+
AC_MSG_CHECKING([virtual machine dispatch method])
AC_MSG_RESULT($PHP_ZEND_VM)
@@ -166,6 +173,9 @@ AC_MSG_RESULT($ZEND_INLINE_OPTIMIZATION)
AC_MSG_CHECKING(whether to enable Zend debugging)
AC_MSG_RESULT($ZEND_DEBUG)
+AC_MSG_CHECKING(whether to enable Zend multibyte)
+AC_MSG_RESULT($ZEND_MULTIBYTE)
+
case $PHP_ZEND_VM in
SWITCH)
AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_SWITCH,[virtual machine dispatch method])
@@ -200,6 +210,10 @@ if test "$ZEND_MAINTAINER_ZTS" = "yes"; then
LIBZEND_CPLUSPLUS_CHECKS
fi
+if test "$ZEND_MULTIBYTE" = "yes"; then
+ AC_DEFINE(ZEND_MULTIBYTE, 1, [ ])
+fi
+
changequote({,})
if test -n "$GCC" && test "$ZEND_INLINE_OPTIMIZATION" != "yes"; then
INLINE_CFLAGS=`echo $ac_n "$CFLAGS $ac_c" | sed s/-O[0-9s]*//`