# HG changeset patch # User Vladimir Homutov # Date 1628151209 -10800 # Node ID 598f8e3bef30f434c454aac4c8a471cb56e08919 # Parent d4a6c03cfcb6ec2c36739feb8ae9fa11d3af19b5 QUIC: better ordering in auto/modules. diff --git a/auto/modules b/auto/modules --- a/auto/modules +++ b/auto/modules @@ -416,6 +416,26 @@ if [ $HTTP = YES ]; then ngx_module_type=HTTP + if [ $HTTP_V2 = YES ]; then + have=NGX_HTTP_V2 . auto/have + have=NGX_HTTP_HEADERS . auto/have + + ngx_module_name=ngx_http_v2_module + ngx_module_incs=src/http/v2 + ngx_module_deps="src/http/v2/ngx_http_v2.h \ + src/http/v2/ngx_http_v2_module.h" + 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 + + . auto/module + fi + if [ $HTTP_V3 = YES ]; then have=NGX_HTTP_V3 . auto/have have=NGX_HTTP_HEADERS . auto/have @@ -447,26 +467,6 @@ if [ $HTTP = YES ]; then . auto/module fi - if [ $HTTP_V2 = YES ]; then - have=NGX_HTTP_V2 . auto/have - have=NGX_HTTP_HEADERS . auto/have - - ngx_module_name=ngx_http_v2_module - ngx_module_incs=src/http/v2 - ngx_module_deps="src/http/v2/ngx_http_v2.h \ - src/http/v2/ngx_http_v2_module.h" - 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 - - . auto/module - fi - if :; then ngx_module_name=ngx_http_static_module ngx_module_incs=