From f99724f2e06952b54bb5c69b9b9e146ab52d6c1b Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 3 Oct 2016 15:58:16 +0300 Subject: Modules compatibility: --with-compat configure option. --- auto/modules | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'auto/modules') 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 -- cgit