summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2021-12-24 15:53:59 +0300
committerRuslan Ermilov <ru@nginx.com>2021-12-24 15:53:59 +0300
commitfa4da058549d122387f5d553b62b0ec15b84ddc8 (patch)
treedb7b2f8666f24e805b4e5c13c021b0f6cac9dbd6 /auto/modules
parent3341a850763eec48263a4ab2fd3a35008b11da3e (diff)
parent363505e806feebb7ceb1f9edb0e3f75c1253384f (diff)
downloadnginx-fa4da058549d122387f5d553b62b0ec15b84ddc8.tar.gz
nginx-fa4da058549d122387f5d553b62b0ec15b84ddc8.tar.bz2
Merged with the default branch.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules13
1 files changed, 5 insertions, 8 deletions
diff --git a/auto/modules b/auto/modules
index 95c237c80..19967fa40 100644
--- a/auto/modules
+++ b/auto/modules
@@ -102,6 +102,11 @@ if [ $HTTP = YES ]; then
fi
+ if [ $HTTP_V2 = YES -o $HTTP_V3 = YES ]; then
+ HTTP_SRCS="$HTTP_SRCS $HTTP_HUFF_SRCS"
+ fi
+
+
# the module order is important
# ngx_http_static_module
# ngx_http_gzip_static_module
@@ -427,8 +432,6 @@ if [ $HTTP = YES ]; then
ngx_module_srcs="src/http/v2/ngx_http_v2.c \
src/http/v2/ngx_http_v2_table.c \
src/http/v2/ngx_http_v2_encode.c \
- src/http/v2/ngx_http_v2_huff_decode.c \
- src/http/v2/ngx_http_v2_huff_encode.c \
src/http/v2/ngx_http_v2_module.c"
ngx_module_libs=
ngx_module_link=$HTTP_V2
@@ -460,12 +463,6 @@ if [ $HTTP = YES ]; then
ngx_module_libs=
ngx_module_link=$HTTP_V3
- if [ $HTTP_V2 = NO ]; then
- ngx_module_srcs="$ngx_module_srcs \
- src/http/v2/ngx_http_v2_huff_decode.c \
- src/http/v2/ngx_http_v2_huff_encode.c"
- fi
-
. auto/module
fi