summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:16 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:16 +0300
commitf99724f2e06952b54bb5c69b9b9e146ab52d6c1b (patch)
tree56d108dc5886f912e353854fb4699bfd38826255 /auto/modules
parentc40de746829971f2edbf9faeae64d4516cb5466e (diff)
downloadnginx-f99724f2e06952b54bb5c69b9b9e146ab52d6c1b.tar.gz
nginx-f99724f2e06952b54bb5c69b9b9e146ab52d6c1b.tar.bz2
Modules compatibility: --with-compat configure option.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 1d8dc5332..89377bf0d 100644
--- a/auto/modules
+++ b/auto/modules
@@ -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>