summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-04-30 15:47:43 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-04-30 15:47:43 +0300
commitb7b3aca7040a0c734a555efd8775249a29b5ac5d (patch)
tree37ec644c5c4719a7efa4ad79af7e731b0d2488af /auto/modules
parentbe478232480f29309e876d2b06c6737fb03dacba (diff)
downloadnginx-b7b3aca7040a0c734a555efd8775249a29b5ac5d.tar.gz
nginx-b7b3aca7040a0c734a555efd8775249a29b5ac5d.tar.bz2
Configure: unbreak with old OpenSSL, --with-http_v3_module added.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules27
1 files changed, 18 insertions, 9 deletions
diff --git a/auto/modules b/auto/modules
index abd3aa4b9..67339e7fa 100644
--- a/auto/modules
+++ b/auto/modules
@@ -404,9 +404,13 @@ if [ $HTTP = YES ]; then
ngx_module_type=HTTP
if [ $HTTP_V3 = YES ]; then
+ USE_OPENSSL=YES
+ USE_OPENSSL_QUIC=YES
have=NGX_HTTP_V3 . auto/have
have=NGX_HTTP_HEADERS . auto/have
+ HTTP_SSL=YES
+
# XXX for Huffman
HTTP_V2=YES
@@ -1265,19 +1269,24 @@ if [ $USE_OPENSSL = YES ]; then
ngx_module_type=CORE
ngx_module_name=ngx_openssl_module
ngx_module_incs=
- ngx_module_deps="src/event/ngx_event_openssl.h \
- src/event/ngx_event_quic.h \
- src/event/ngx_event_quic_transport.h \
- src/event/ngx_event_quic_protection.h"
- ngx_module_srcs="src/event/ngx_event_openssl.c \
- src/event/ngx_event_openssl_stapling.c \
- src/event/ngx_event_quic.c \
- src/event/ngx_event_quic_transport.c \
- src/event/ngx_event_quic_protection.c"
+ ngx_module_deps=src/event/ngx_event_openssl.h
+ ngx_module_srcs="src/event/ngx_event_openssl.c
+ src/event/ngx_event_openssl_stapling.c"
ngx_module_libs=
ngx_module_link=YES
ngx_module_order=
+ if [ $USE_OPENSSL_QUIC = YES ]; then
+ ngx_module_deps="$ngx_module_deps \
+ src/event/ngx_event_quic.h \
+ src/event/ngx_event_quic_transport.h \
+ src/event/ngx_event_quic_protection.h"
+ ngx_module_srcs="$ngx_module_srcs \
+ src/event/ngx_event_quic.c \
+ src/event/ngx_event_quic_transport.c \
+ src/event/ngx_event_quic_protection.c"
+ fi
+
. auto/module
fi