mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
configure: catch asking for double resolver without https-rr
It is probably an unintentionally bad setup. Found-by: Stefan Eissing Closes #17025
This commit is contained in:
parent
a1413b4a27
commit
d364f1347f
12
configure.ac
12
configure.ac
@ -4919,14 +4919,24 @@ if test "x$want_ech" != "xno"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([whether to enable HTTPS-RR support])
|
||||||
dnl *************************************************************
|
dnl *************************************************************
|
||||||
dnl check whether HTTPSRR support if desired
|
dnl check whether HTTPSRR support if desired
|
||||||
dnl
|
dnl
|
||||||
if test "x$want_httpsrr" != "xno"; then
|
if test "x$want_httpsrr" != "xno"; then
|
||||||
AC_MSG_RESULT([HTTPSRR support is enabled])
|
AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(USE_HTTPSRR, 1, [enable HTTPS RR support])
|
AC_DEFINE(USE_HTTPSRR, 1, [enable HTTPS RR support])
|
||||||
experimental="$experimental HTTPSRR"
|
experimental="$experimental HTTPSRR"
|
||||||
curl_httpsrr_msg="enabled (--disable-httpsrr)"
|
curl_httpsrr_msg="enabled (--disable-httpsrr)"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
# no HTTPSRR wanted
|
||||||
|
if test "$want_threaded_resolver" = "yes"; then
|
||||||
|
# and using the threaded resolver
|
||||||
|
if test "x$USE_ARES" = "x1"; then
|
||||||
|
AC_MSG_ERROR([without HTTPS-RR support, asking for both threaded resolver and c-ares support is ambivalent. Please drop one of them.])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user