mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
curl-confopts.m4: define CARES_NO_DEPRECATED when c-ares is used
Starting in 1.28.0 c-ares added deprecation warnings for some API calls libcurl uses. Closes #13240
This commit is contained in:
parent
3208360845
commit
e54a66aa6c
@ -561,6 +561,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [
|
||||
if test "$want_ares" = "yes"; then
|
||||
dnl finally c-ares will be used
|
||||
AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support])
|
||||
AC_DEFINE(CARES_NO_DEPRECATED, 1, [Ignore c-ares deprecation warnings])
|
||||
AC_SUBST([USE_ARES], [1])
|
||||
curl_res_msg="c-ares"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user