cvs: Zend(PHP_4_4) / Zend.m4 php-src configure.in
| From: | Jani Taskinen | Date: | Tue, 07 Jun 2005 17:23:13 +0000 |
| Subject: | cvs: Zend(PHP_4_4) / Zend.m4 php-src configure.in | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3750@lists.php.net to get a copy of this message | ||
sniper Tue Jun 7 13:23:13 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src configure.in
/Zend Zend.m4
Log:
MFH
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.396.2.164.2.2&r2=1.396.2.164.2.3&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.164.2.2 php-src/configure.in:1.396.2.164.2.3
--- php-src/configure.in:1.396.2.164.2.2 Tue Jun 7 09:37:33 2005
+++ php-src/configure.in Tue Jun 7 13:23:12 2005
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.164.2.2 2005/06/07 13:37:33 derick Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.164.2.3 2005/06/07 17:23:12 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -659,16 +659,6 @@
ZEND_DEBUG=no
fi
-PHP_ARG_ENABLE(zend-memory-manager,whether to enable the Zend memory manager,
-[ --disable-zend-memory-manager
- Disable the Zend memory manager (DEVELOPERS ONLY)],yes, no)
-
-if test "$PHP_ZEND_MEMORY_MANAGER" = "yes"; then
- AC_DEFINE(USE_ZEND_ALLOC, 1, [ ])
-else
- AC_DEFINE(USE_ZEND_ALLOC, 0, [ ])
-fi
-
PHP_ARG_WITH(layout,[layout of installed files],
[ --with-layout=TYPE Sets how installed files will be laid out. Type is
one of "PHP" (default) or "GNU"], PHP, no)
http://cvs.php.net/diff.php/Zend/Zend.m4?r1=1.35.2.10&r2=1.35.2.10.2.1&ty=u
Index: Zend/Zend.m4
diff -u Zend/Zend.m4:1.35.2.10 Zend/Zend.m4:1.35.2.10.2.1
--- Zend/Zend.m4:1.35.2.10 Wed Feb 16 23:45:22 2005
+++ Zend/Zend.m4 Tue Jun 7 13:23:12 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: Zend.m4,v 1.35.2.10 2005/02/17 04:45:22 sniper Exp $
+dnl $Id: Zend.m4,v 1.35.2.10.2.1 2005/06/07 17:23:12 sniper Exp $
dnl
dnl This file contains Zend specific autoconf functions.
dnl
@@ -147,6 +147,15 @@
AC_DEFUN([LIBZEND_OTHER_CHECKS],[
+AC_ARG_ENABLE(zend-memory-manager,
+[ --disable-zend-memory-manager
+ Disable the Zend memory manager - FOR DEVELOPERS ONLY!!],
+[
+ ZEND_USE_ZEND_ALLOC=$enableval
+], [
+ ZEND_USE_ZEND_ALLOC=yes
+])
+
AC_ARG_ENABLE(experimental-zts,
[ --enable-experimental-zts
This will most likely break your build],[
@@ -177,6 +186,9 @@
ZEND_MULTIBYTE=no
])
+AC_MSG_CHECKING(whether to enable the Zend memory manager)
+AC_MSG_RESULT($ZEND_USE_ZEND_ALLOC)
+
AC_MSG_CHECKING(whether to enable thread-safety)
AC_MSG_RESULT($ZEND_EXPERIMENTAL_ZTS)
@@ -207,6 +219,12 @@
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
+if test "$ZEND_USE_ZEND_ALLOC" = "yes"; then
+ AC_DEFINE(USE_ZEND_ALLOC,1,[Use Zend memory manager])
+else
+ AC_DEFINE(USE_ZEND_ALLOC,0,[Use Zend memory manager])
+fi
+
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])
CFLAGS="$CFLAGS -DZTS"