mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
configure: do not link with nghttp3 unless necessary
Fixes #12833 Closes #12864 Reported-by: Ryan Carsten Schmidt
This commit is contained in:
parent
a982d19ab9
commit
577182a6df
@ -3124,9 +3124,10 @@ dnl **********************************************************************
|
||||
|
||||
OPT_NGHTTP3="yes"
|
||||
|
||||
if test "x$USE_NGTCP2" = "x" -a "$USE_OPENSSL_QUIC" = "x"; then
|
||||
if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then
|
||||
# without ngtcp2 or openssl quic, nghttp3 is of no use for us
|
||||
OPT_NGHTTP3="no"
|
||||
want_nghttp3="no"
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(nghttp3,
|
||||
|
Loading…
Reference in New Issue
Block a user