summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-13 12:14:56 +0000
committerWez Furlong <wez@php.net>2004-05-13 12:14:56 +0000
commit6571a32c871bbae2d6af71f917209fd77ad5a2ae (patch)
treee241db22a2a0b247fbeb9d87847100f2a9fab5ef
parentfbb28b36b7946b0435997f516988ffb90fd1e144 (diff)
downloadphp-git-6571a32c871bbae2d6af71f917209fd77ad5a2ae.tar.gz
Add --enable-memory-limit configure option (defaults to off)
-rw-r--r--win32/build/config.w324
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 500d543b19..2dfe853c6f 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -214,6 +214,10 @@ AC_DEFINE('HAVE_GETADDRINFO', main_network_has_ipv6);
AC_DEFINE('HAVE_GAI_STRERROR', main_network_has_ipv6);
AC_DEFINE('HAVE_IPV6', main_network_has_ipv6);
+ARG_ENABLE("memory-limit", "Enable memory limit checking code", "no");
+
+AC_DEFINE('MEMORY_LIMIT', PHP_MEMORY_LIMIT == "yes" ? 1 : 0);
+
/* For snapshot builders, where can we find the additional
* files that make up the snapshot template? */
ARG_WITH("snapshot-template", "Path to snapshot builder template dir", "no");