cvs: ZendEngine2 / Zend.m4 php-src configure.in
| From: | Jani Taskinen | Date: | Tue, 07 Jun 2005 17:22:40 +0000 |
| Subject: | cvs: ZendEngine2 / Zend.m4 php-src configure.in | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3748@lists.php.net to get a copy of this message | ||
sniper Tue Jun 7 13:22:40 2005 EDT
Modified files:
/php-src configure.in
/ZendEngine2 Zend.m4
Log:
-Moved --disable-zend-memory-manager where it belongs
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.558&r2=1.559&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.558 php-src/configure.in:1.559
--- php-src/configure.in:1.558 Tue Jun 7 09:36:06 2005
+++ php-src/configure.in Tue Jun 7 13:22:39 2005
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.558 2005/06/07 13:36:06 derick Exp $ -*- autoconf -*-
+dnl ## $Id: configure.in,v 1.559 2005/06/07 17:22:39 sniper Exp $ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -623,16 +623,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 Set how installed files will be laid out. Type is
one of "PHP" or "GNU" [TYPE=PHP]], PHP, no)
http://cvs.php.net/diff.php/ZendEngine2/Zend.m4?r1=1.54&r2=1.55&ty=u
Index: ZendEngine2/Zend.m4
diff -u ZendEngine2/Zend.m4:1.54 ZendEngine2/Zend.m4:1.55
--- ZendEngine2/Zend.m4:1.54 Sun May 29 19:16:40 2005
+++ ZendEngine2/Zend.m4 Tue Jun 7 13:22:40 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: Zend.m4,v 1.54 2005/05/29 23:16:40 sniper Exp $
+dnl $Id: Zend.m4,v 1.55 2005/06/07 17:22:40 sniper Exp $
dnl
dnl This file contains Zend specific autoconf functions.
dnl
@@ -137,6 +137,15 @@
;;
esac
+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
@@ -166,6 +175,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)
@@ -196,6 +208,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"