mirror of
https://github.com/curl/curl.git
synced 2026-07-16 02:17:15 +03:00
configure: require a QUIC library if nghttp3 is used
Instead of just silently disabling HTTP/3. Reported-by: Matt Jolly Fixes #13995 Closes #13999
This commit is contained in:
parent
134d2834fd
commit
76e0196b1e
1 changed files with 5 additions and 0 deletions
|
|
@ -3231,6 +3231,11 @@ esac
|
|||
curl_http3_msg="no (--with-nghttp3)"
|
||||
if test X"$want_nghttp3" != Xno; 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
|
||||
AC_MSG_ERROR([nghttp3 enabled without a QUIC library; enable ngtcp2 or OpenSSL-QUIC])
|
||||
fi
|
||||
|
||||
dnl backup the pre-nghttp3 variables
|
||||
CLEANLDFLAGS="$LDFLAGS"
|
||||
CLEANCPPFLAGS="$CPPFLAGS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue