From: Daniel Stenberg Date: Wed, 5 Feb 2025 12:52:46 +0000 (+0100) Subject: configure/cmake: set asyn-rr a feature only if httpsrr is enabled X-Git-Tag: curl-8_12_1~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58674865fe33155ffebde2ff0d9212a922a66077;p=thirdparty%2Fcurl.git configure/cmake: set asyn-rr a feature only if httpsrr is enabled Closes #16183 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c634cdd6a..4cd8d6a635 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2122,7 +2122,7 @@ curl_add_if("brotli" HAVE_BROTLI) curl_add_if("gsasl" USE_GSASL) curl_add_if("zstd" HAVE_ZSTD) curl_add_if("AsynchDNS" USE_ARES OR USE_THREADS_POSIX OR USE_THREADS_WIN32) -curl_add_if("asyn-rr" USE_ARES AND ENABLE_THREADED_RESOLVER) +curl_add_if("asyn-rr" USE_ARES AND ENABLE_THREADED_RESOLVER AND USE_HTTPSRR) curl_add_if("IDN" (HAVE_LIBIDN2 AND HAVE_IDN2_H) OR USE_WIN32_IDN OR USE_APPLE_IDN) diff --git a/configure.ac b/configure.ac index ced717252f..d492f9e941 100644 --- a/configure.ac +++ b/configure.ac @@ -5017,7 +5017,7 @@ if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \ -o "x$USE_THREADS_WIN32" = "x1"; then SUPPORT_FEATURES="$SUPPORT_FEATURES AsynchDNS" fi -if test "x$USE_ARES" = "x1" -a "$want_threaded_resolver" = "yes"; then +if test "x$USE_ARES" = "x1" -a "$want_threaded_resolver" = "yes" -a "x$want_httpsrr" != "xno"; then SUPPORT_FEATURES="$SUPPORT_FEATURES asyn-rr" fi if test "x$IDN_ENABLED" = "x1"; then