]> granicus.if.org Git - php/commitdiff
Add --enable-memory-limit configure option (defaults to off)
authorWez Furlong <wez@php.net>
Thu, 13 May 2004 12:14:56 +0000 (12:14 +0000)
committerWez Furlong <wez@php.net>
Thu, 13 May 2004 12:14:56 +0000 (12:14 +0000)
win32/build/config.w32

index 500d543b19920fd57af271f3f13e9117e70cebbb..2dfe853c6f9e0c18928f16b93a632a2f3a3e528f 100644 (file)
@@ -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");