mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
add --enable-memory-manager switch for win32 too
This commit is contained in:
parent
a4874a5533
commit
fc92678b05
@ -248,9 +248,11 @@ ARG_ENABLE('fd-setsize', "Set maximum number of sockets for select(2)", "256");
|
||||
ADD_FLAG("CFLAGS", "/D FD_SETSIZE=" + parseInt(PHP_FD_SETSIZE));
|
||||
|
||||
ARG_ENABLE("memory-limit", "Enable memory limit checking code", "no");
|
||||
|
||||
AC_DEFINE('MEMORY_LIMIT', PHP_MEMORY_LIMIT == "yes" ? 1 : 0);
|
||||
|
||||
ARG_ENABLE("memory-manager", "Enable Zend memory manager", "yes");
|
||||
AC_DEFINE('USE_ZEND_ALLOC', PHP_MEMORY_MANAGER == "yes" ? 1 : 0);
|
||||
|
||||
ARG_ENABLE("zend-multibyte", "Enable Zend multibyte encoding support", "no");
|
||||
if (PHP_ZEND_MULTIBYTE == "yes") {
|
||||
STDOUT.WriteLine("Enabling Zend multibyte encoding support");
|
||||
|
@ -63,7 +63,6 @@
|
||||
#define HAVE_TZSET 1
|
||||
#define HAVE_TZNAME 1
|
||||
#undef HAVE_FLOCK
|
||||
#define USE_ZEND_ALLOC 1
|
||||
#define HAVE_ALLOCA 1
|
||||
#undef HAVE_SYS_TIME_H
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
@ -17,7 +17,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
// $Id: confutils.js,v 1.56 2005-06-05 19:19:09 wez Exp $
|
||||
// $Id: confutils.js,v 1.57 2005-06-09 13:09:04 wez Exp $
|
||||
|
||||
var STDOUT = WScript.StdOut;
|
||||
var STDERR = WScript.StdErr;
|
||||
@ -350,7 +350,7 @@ can be built that way. \
|
||||
'php-build', 'snapshot-template',
|
||||
'pcre-regex', 'fastcgi', 'force-cgi-redirect',
|
||||
'path-info-check', 'zts', 'ipv6', 'memory-limit',
|
||||
'zend-multibyte', 'fd-setsize'
|
||||
'zend-multibyte', 'fd-setsize', 'memory-manager'
|
||||
);
|
||||
var force;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user