comparison auto/lib/openssl/conf @ 7849:0e6528551f26 quic

Configure: unbreak with old OpenSSL, --with-http_v3_module added.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 30 Apr 2020 15:47:43 +0300
parents 7999d3fbb765
children 8712f4583783
comparison
equal deleted inserted replaced
7848:9d9531431c8c 7849:0e6528551f26
139 exit 1 139 exit 1
140 fi 140 fi
141 141
142 fi 142 fi
143 143
144 ngx_feature="OpenSSL QUIC support" 144
145 ngx_feature_name="NGX_OPENSSL_QUIC" 145 if [ $USE_OPENSSL_QUIC = YES ]; then
146 ngx_feature_run=no 146
147 ngx_feature_incs="#include <openssl/ssl.h>" 147 ngx_feature="OpenSSL QUIC support"
148 ngx_feature_path= 148 ngx_feature_name="NGX_OPENSSL_QUIC"
149 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL" 149 ngx_feature_run=no
150 ngx_feature_test="SSL_CTX_set_quic_method(NULL, NULL)" 150 ngx_feature_incs="#include <openssl/ssl.h>"
151 . auto/feature 151 ngx_feature_path=
152 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL"
153 ngx_feature_test="SSL_CTX_set_quic_method(NULL, NULL)"
154 . auto/feature
155
156 if [ $ngx_found = no ]; then
157
158 cat << END
159
160 $0: error: certain modules require OpenSSL QUIC support.
161 You can either do not enable the modules, or install the OpenSSL library
162 into the system, or build the OpenSSL library statically from the source
163 with nginx by using --with-openssl=<path> option.
164
165 END
166 exit 1
167 fi
168
169 fi