ZEND_API char *_estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
-#define USE_ZEND_ALLOC 1
-
#if USE_ZEND_ALLOC
/* Standard wrapper macros */
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)
php_info_print_table_row(2, "Thread Safety", "disabled" );
#endif
+#if USE_ZEND_ALLOC
+ php_info_print_table_row(2, "Zend Memory Manager", "enabled" );
+#else
+ php_info_print_table_row(2, "Zend Memory Manager", "disabled" );
+#endif
+
#if HAVE_IPV6
php_info_print_table_row(2, "IPv6 Support", "enabled" );
#else