diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index 37f7d4c2e6..1d2d6fed46 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -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