From: foobar Date: Tue, 14 Jun 2005 12:23:26 +0000 (+0000) Subject: reordered + added msg to configure output for PHP_ZEND_VM X-Git-Tag: php-5.1.0b2~203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c9a470cbc63d08fc3634bb176b63de484520b78;p=php reordered + added msg to configure output for PHP_ZEND_VM --- diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index c623a9182a..b1d4995988 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -129,18 +129,6 @@ AC_ARG_WITH(zend-vm, PHP_ZEND_VM=CALL ]) -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]) - ;; - *) - AC_DEFINE(ZEND_VM_KIND,ZEND_VM_KIND_CALL,[virtual machine dispatch method]) - ;; -esac - AC_ARG_ENABLE(zend-memory-manager, [ --disable-zend-memory-manager Disable the Zend memory manager - FOR DEVELOPERS ONLY!!], @@ -179,6 +167,9 @@ AC_ARG_ENABLE(zend-multibyte, ZEND_MULTIBYTE=no ]) +AC_MSG_CHECKING([virtual machine dispatch method]) +AC_MSG_RESULT($PHP_ZEND_VM) + AC_MSG_CHECKING(whether to enable the Zend memory manager) AC_MSG_RESULT($ZEND_USE_ZEND_ALLOC) @@ -197,6 +188,19 @@ 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]) + ;; + 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"