From: Stefan Eissing Date: Mon, 5 Feb 2024 16:02:21 +0000 (+0100) Subject: configure: do not link with nghttp3 unless necessary X-Git-Tag: curl-8_7_0~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=577182a6df4e13e909706aaf4d23635617f1eedb;p=thirdparty%2Fcurl.git configure: do not link with nghttp3 unless necessary Fixes #12833 Closes #12864 Reported-by: Ryan Carsten Schmidt --- diff --git a/configure.ac b/configure.ac index 02c51c12ee..db291afb00 100644 --- a/configure.ac +++ b/configure.ac @@ -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,