From 8423cc8e3bae9049103ba4b79b3b550bbbe343fb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 16 Mar 2026 15:19:22 +0100 Subject: [PATCH] configure: prefer dependency-specific variables over `$withval` Tidy up, for robustness and consistency. Ref: #20943 Cherry-picked from #20920 Closes #20944 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index eb2b84d0bc..488ebbb416 100644 --- a/configure.ac +++ b/configure.ac @@ -3090,7 +3090,7 @@ case "$OPT_H2" in dnl --with-nghttp2 option used with path want_nghttp2="yes" want_nghttp2_path="$withval" - want_nghttp2_pkg_config_path="$withval/lib/pkgconfig" + want_nghttp2_pkg_config_path="$OPT_H2/lib/pkgconfig" ;; esac @@ -3186,7 +3186,7 @@ case "$OPT_TCP2" in *) dnl --with-ngtcp2 option used with path want_tcp2="yes" - want_tcp2_path="$withval/lib/pkgconfig" + want_tcp2_path="$OPT_TCP2/lib/pkgconfig" ;; esac @@ -3634,7 +3634,7 @@ case "$OPT_NGHTTP3" in *) dnl --with-nghttp3 option used with path want_nghttp3="yes" - want_nghttp3_path="$withval/lib/pkgconfig" + want_nghttp3_path="$OPT_NGHTTP3/lib/pkgconfig" ;; esac