Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-05 23:54:02 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-09-05 23:54:02 +0400
commit980a92472cc30271ad7e88eb2dcc43f00e984d4d (patch)
treeb8940cd9e6b8859c78e3c023c1373bae02371f2e /auto
parentb9e344175f4e971284aa14c8fe685936a4957d52 (diff)
nginx-0.0.10-2004-09-05-23:54:02 import
Diffstat (limited to 'auto')
-rw-r--r--auto/modules14
-rw-r--r--auto/options5
2 files changed, 13 insertions, 6 deletions
diff --git a/auto/modules b/auto/modules
index be76fd83a..d80a05cb8 100644
--- a/auto/modules
+++ b/auto/modules
@@ -126,11 +126,15 @@ if [ -r $OBJS/auto ]; then
. $OBJS/auto
fi
-modules="$CORE_MODULES $EVENT_MODULES $HTTP_MODULES $HTTP_FILTER_MODULES \
- $HTTP_HEADERS_FILTER_MODULE \
- $HTTP_COPY_FILTER_MODULE \
- $HTTP_RANGE_BODY_FILTER_MODULE \
- $HTTP_NOT_MODIFIED_FILTER_MODULE"
+modules="$CORE_MODULES $EVENT_MODULES"
+
+if [ $HTTP = YES ]; then
+ modules="$modules $HTTP_MODULES $HTTP_FILTER_MODULES \
+ $HTTP_HEADERS_FILTER_MODULE \
+ $HTTP_COPY_FILTER_MODULE \
+ $HTTP_RANGE_BODY_FILTER_MODULE \
+ $HTTP_NOT_MODIFIED_FILTER_MODULE"
+fi
echo "#include <ngx_config.h>" > $NGX_MODULES_C
diff --git a/auto/options b/auto/options
index c88e77fc3..538e6ad52 100644
--- a/auto/options
+++ b/auto/options
@@ -29,6 +29,7 @@ EVENT_AIO=NO
USE_THREADS=NO
+HTTP=YES
HTTP_CHARSET=YES
HTTP_GZIP=YES
HTTP_SSL=NO
@@ -70,7 +71,6 @@ do
--prefix=*) PREFIX="$value" ;;
--sbin-path=*) SBIN_PATH="$value" ;;
--conf-path=*) CONF_PATH="$value" ;;
- --http-log-path=*) HTTP_LOG_PATH="$value" ;;
--error-log-path=*) ERROR_LOG_PATH="$value" ;;
--pid-path=*) PID_PATH="$value" ;;
@@ -88,6 +88,9 @@ do
--with-threads=*) USE_THREADS="$value" ;;
--with-threads) USE_THREADS="pthreads" ;;
+ --without-http) HTTP=NO ;;
+ --http-log-path=*) HTTP_LOG_PATH="$value" ;;
+
--with-http_ssl_module) HTTP_SSL=YES ;;
--without-http_charset_module) HTTP_CHARSET=NO ;;
--without-http_gzip_module) HTTP_GZIP=NO ;;