configure/cmake: set asyn-rr a feature only if httpsrr is enabled
Closes #16183
This commit is contained in:
parent
448e71d1b7
commit
58674865fe
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user