diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-02-19 07:00:34 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-02-19 07:00:34 +0000 |
commit | 8d9d65ba65fa8e5df05e43eea136e6e3360c6cc3 (patch) | |
tree | 054ecae7df4c29cee7576cd5deae5b8693d5cb93 /www/apache13 | |
parent | Update to 2.19. (diff) |
Allow to configure HARD_SERVER_LIMIT via 'make' variable
Notes
Notes:
svn path=/head/; revision=54885
Diffstat (limited to 'www/apache13')
-rw-r--r-- | www/apache13/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile index f215e149c7a9..12c109a0aeef 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -46,11 +46,19 @@ 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 # .if defined(WITH_APACHE_PERF_TUNING) && ${WITH_APACHE_PERF_TUNING} == YES |