cvs: /php4 configure.in

From: Date: Tue, 30 Nov 1999 21:22:34 +0000
Subject: cvs: /php4 configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-7120@lists.php.net to get a copy of this message
sas Tue Nov 30 16:22:34 1999 EDT Modified files: /php4 configure.in Log: Add '--enable-low-memory' option. Index: php4/configure.in diff -u php4/configure.in:1.47 php4/configure.in:1.48 --- php4/configure.in:1.47 Sun Nov 28 18:01:57 1999 +++ php4/configure.in Tue Nov 30 16:22:02 1999 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.47 1999/11/28 23:01:57 ssb Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.48 1999/11/30 21:22:02 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(0) @@ -579,6 +579,15 @@ ]) AC_MSG_RESULT($PHP_EXPERIMENTAL_ZTS) +AC_MSG_CHECKING(whether to try to stay below resource limits) +AC_ARG_ENABLE(low-memory, +[ --enable-low-memory Try to stay below resource limits],[ + PHP_LOW_MEMORY=$enableval +],[ + PHP_LOW_MEMORY=no +]) +AC_MSG_RESULT($PHP_LOW_MEMORY) + PHP_SAPI=cgi PHP_BUILD_PROGRAM dnl paths to the targets relative to the build directory @@ -613,8 +622,11 @@ if test -f "$PHP_SYM_FILE"; then EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE" fi +fi + +if test "$PHP_LOW_MEMORY" = "yes"; then + passthru="$passthru --disable-inline" fi - divert(4)

« previous php.version4 (#7120) next »