diff options
Diffstat (limited to 'auto')
-rw-r--r-- | auto/modules | 6 | ||||
-rw-r--r-- | auto/options | 6 | ||||
-rw-r--r-- | auto/sources | 12 |
3 files changed, 18 insertions, 6 deletions
diff --git a/auto/modules b/auto/modules index a2dccc88e..cd07cfc4e 100644 --- a/auto/modules +++ b/auto/modules @@ -66,6 +66,12 @@ fi HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE $HTTP_INDEX_MODULE" +if [ $HTTP_STATUS = YES ]; then + have=NGX_HTTP_STATUS . auto/have + HTTP_MODULES="$HTTP_MODULES $HTTP_STATUS_MODULE" + HTTP_SRCS="$HTTP_SRCS $HTTP_STATUS_SRCS" +fi + if [ $HTTP_REWRITE = YES -a $USE_PCRE != DISABLED ]; then have=NGX_HTTP_REWRITE . auto/have USE_PCRE=YES diff --git a/auto/options b/auto/options index 7c729d866..7a6e36dfd 100644 --- a/auto/options +++ b/auto/options @@ -30,9 +30,10 @@ EVENT_AIO=NO USE_THREADS=NO HTTP_CHARSET=YES -HTTP_REWRITE=YES HTTP_GZIP=YES HTTP_SSI=YES +HTTP_STATUS=YES +HTTP_REWRITE=YES HTTP_PROXY=YES USE_PCRE=NO @@ -82,9 +83,10 @@ do --with-threads) USE_THREADS="pthreads" ;; --without-http_charset_module) HTTP_CHARSET=NO ;; - --without-http_rewrite_module) HTTP_REWRITE=NO ;; --without-http_ssi_module) HTTP_SSI=NO ;; --without-http_gzip_module) HTTP_GZIP=NO ;; + --without-http_status_module) HTTP_STATUS=NO ;; + --without-http_rewrite_module) HTTP_REWRITE=NO ;; --without-http_proxy_module) HTTP_PROXY=NO ;; --with-cc=*) CC="$value" ;; diff --git a/auto/sources b/auto/sources index e402b1c2b..6801f27f2 100644 --- a/auto/sources +++ b/auto/sources @@ -240,10 +240,6 @@ HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module HTTP_CHARSET_SRCS=src/http/modules/ngx_http_charset_filter.c -HTTP_REWRITE_MODULE=ngx_http_rewrite_module -HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_handler.c - - HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter.c @@ -252,6 +248,14 @@ HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter.c +HTTP_STATUS_MODULE=ngx_http_status_module +HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_handler.c + + +HTTP_REWRITE_MODULE=ngx_http_rewrite_module +HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_handler.c + + HTTP_PROXY_MODULE=ngx_http_proxy_module HTTP_PROXY_INCS="src/http/modules/proxy" HTTP_PROXY_DEPS=src/http/modules/proxy/ngx_http_proxy_handler.h |