]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: do not link with nghttp3 unless necessary
authorStefan Eissing <stefan@eissing.org>
Mon, 5 Feb 2024 16:02:21 +0000 (17:02 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Feb 2024 22:47:39 +0000 (23:47 +0100)
Fixes #12833
Closes #12864
Reported-by: Ryan Carsten Schmidt
configure.ac

index 02c51c12eebf2e390f7c03cf4752fd3ee1ad2ad9..db291afb00650d7b1ff4c2ca589173d0ffa4b637 100644 (file)
@@ -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,