From: Wez Furlong Date: Thu, 13 May 2004 12:14:56 +0000 (+0000) Subject: Add --enable-memory-limit configure option (defaults to off) X-Git-Tag: RELEASE_0_1~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6571a32c871bbae2d6af71f917209fd77ad5a2ae;p=php Add --enable-memory-limit configure option (defaults to off) --- 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");