cvs: ZendEngine2(PHP_5_0) / Zend.m4 php-src configure.in
| From: | Jani Taskinen | Date: | Tue, 07 Jun 2005 17:22:56 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / Zend.m4 php-src configure.in | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3749@lists.php.net to get a copy of this message | ||
sniper Tue Jun 7 13:22:56 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src configure.in
/ZendEngine2 Zend.m4
Log:
MFH
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.514.2.52&r2=1.514.2.53&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.514.2.52 php-src/configure.in:1.514.2.53
--- php-src/configure.in:1.514.2.52 Tue Jun 7 09:37:12 2005
+++ php-src/configure.in Tue Jun 7 13:22:55 2005
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.514.2.52 2005/06/07 13:37:12 derick Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.514.2.53 2005/06/07 17:22:55 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -677,16 +677,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/ZendEngine2/Zend.m4?r1=1.43.2.4&r2=1.43.2.5&ty=u
Index: ZendEngine2/Zend.m4
diff -u ZendEngine2/Zend.m4:1.43.2.4 ZendEngine2/Zend.m4:1.43.2.5
--- ZendEngine2/Zend.m4:1.43.2.4 Thu Mar 10 04:50:37 2005
+++ ZendEngine2/Zend.m4 Tue Jun 7 13:22:56 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: Zend.m4,v 1.43.2.4 2005/03/10 09:50:37 hyanantha Exp $
+dnl $Id: Zend.m4,v 1.43.2.5 2005/06/07 17:22:56 sniper Exp $
dnl
dnl This file contains Zend specific autoconf functions.
dnl
@@ -136,6 +136,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(maintainer-zts,
[ --enable-maintainer-zts Enable thread safety - for code maintainers only],[
ZEND_MAINTAINER_ZTS=$enableval
@@ -165,6 +174,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_MAINTAINER_ZTS)
@@ -195,6 +207,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_MAINTAINER_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])
CFLAGS="$CFLAGS -DZTS"