Modules compatibility: --with-compat configure option.

This commit is contained in:
Maxim Dounin
2016-10-03 15:58:16 +03:00
parent c40de74682
commit f99724f2e0
2 changed files with 18 additions and 0 deletions

View File

@@ -1312,6 +1312,18 @@ fi
modules="$modules $MISC_MODULES"
if [ $NGX_COMPAT = YES ]; then
have=NGX_COMPAT . auto/have
have=NGX_HTTP_GZIP . auto/have
have=NGX_HTTP_DAV . auto/have
have=NGX_HTTP_REALIP . auto/have
have=NGX_HTTP_X_FORWARDED_FOR . auto/have
have=NGX_HTTP_HEADERS . auto/have
have=NGX_HTTP_UPSTREAM_ZONE . auto/have
have=NGX_STREAM_UPSTREAM_ZONE . auto/have
fi
cat << END > $NGX_MODULES_C
#include <ngx_config.h>