com php-src: Remove --with-zend-vm (it doesn't work anyway): Zend/Zend.m4
| From: | Xinchen Hui | Date: | Mon, 16 Mar 2015 08:59:31 +0000 |
| Subject: | com php-src: Remove --with-zend-vm (it doesn't work anyway): Zend/Zend.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85523@lists.php.net to get a copy of this message | ||
Commit: f54f806f4e9f1220c451de175873c167b3308348
Author: Xinchen Hui <laruence@php.net> Mon, 16 Mar 2015 16:59:31 +0800
Parents: b48f3ecd92c4820ce835dbbf75a79c7fcb72a8d2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f54f806f4e9f1220c451de175873c167b3308348
Log:
Remove --with-zend-vm (it doesn't work anyway)
Changed paths:
M Zend/Zend.m4
Diff:
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 945409e..16f2d5f 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -153,14 +153,6 @@ AC_ARG_ENABLE(debug,
AC_DEFUN([LIBZEND_OTHER_CHECKS],[
-AC_ARG_WITH(zend-vm,
-[ --with-zend-vm=TYPE Set virtual machine dispatch method. Type is
- one of "CALL", "SWITCH" or "GOTO"
[TYPE=CALL]],[
- PHP_ZEND_VM=$withval
-],[
- PHP_ZEND_VM=CALL
-])
-
AC_ARG_ENABLE(maintainer-zts,
[ --enable-maintainer-zts Enable thread safety - for code maintainers only!!],[
ZEND_MAINTAINER_ZTS=$enableval
@@ -176,9 +168,6 @@ AC_ARG_ENABLE(inline-optimization,
ZEND_INLINE_OPTIMIZATION=yes
])
-AC_MSG_CHECKING([virtual machine dispatch method])
-AC_MSG_RESULT($PHP_ZEND_VM)
-
AC_MSG_CHECKING(whether to enable thread-safety)
AC_MSG_RESULT($ZEND_MAINTAINER_ZTS)
@@ -188,19 +177,6 @@ AC_MSG_RESULT($ZEND_INLINE_OPTIMIZATION)
AC_MSG_CHECKING(whether to enable Zend debugging)
AC_MSG_RESULT($ZEND_DEBUG)
-case $PHP_ZEND_VM in
- SWITCH)
- AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_SWITCH,[virtual machine dispatch method])
- ;;
- GOTO)
- AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_GOTO,[virtual machine dispatch method])
- ;;
- *)
- PHP_ZEND_VM=CALL
- AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_CALL,[virtual machine dispatch method])
- ;;
-esac
-
if test "$ZEND_DEBUG" = "yes"; then
AC_DEFINE(ZEND_DEBUG,1,[ ])
echo " $CFLAGS" | grep ' -g' >/dev/null || DEBUG_CFLAGS="-g"