From 8d9d65ba65fa8e5df05e43eea136e6e3360c6cc3 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 19 Feb 2002 07:00:34 +0000 Subject: Allow to configure HARD_SERVER_LIMIT via 'make' variable --- www/apache13/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/apache13/Makefile b/www/apache13/Makefile index f215e149c7a9..12c109a0aeef 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -46,10 +46,18 @@ CONFIGURE_ARGS+= \ --disable-module=auth_dbm \ --enable-shared=max -OPTIM= -DHARD_SERVER_LIMIT=512 \ - -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \ +OPTIM= -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \ -DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\" +# +# Set APACHE_HARD_SERVER_LIMIT env. variable to desired value +# +.if defined(APACHE_HARD_SERVER_LIMIT) +OPTIM+= -DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT} +.else +OPTIM+= -DHARD_SERVER_LIMIT=512 +.endif + # # Set WITH_APACHE_PERF_TUNING env. variable to YES to get maximum performance # -- cgit v1.2.3