From 577182a6df4e13e909706aaf4d23635617f1eedb Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Mon, 5 Feb 2024 17:02:21 +0100 Subject: [PATCH] configure: do not link with nghttp3 unless necessary Fixes #12833 Closes #12864 Reported-by: Ryan Carsten Schmidt --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.47.3