From: Art Cancro Date: Thu, 22 Dec 2011 23:12:34 +0000 (-0500) Subject: Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel X-Git-Tag: v8.11~283^2 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=77e22b6bbcf9fa8c690ad3872f9a65d969d45335;hp=7b6191e9787496d0a3157637414210832e68117b;p=citadel.git Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel --- diff --git a/citadel/configure.ac b/citadel/configure.ac index b5ba64255..6e8894d5b 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -570,7 +570,7 @@ AC_CHECK_HEADER(libcitadel.h, CFLAGS="$saved_CFLAGS" -AC_CHECK_LIB(cares, ares_init, +AC_CHECK_LIB(cares, ares_parse_mx_reply, [ C_ARES_LIBS=-lcares AC_DEFINE(HAVE_C_ARES, 1, [Define to use c-ares library]) @@ -584,7 +584,7 @@ saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $SERVER_LIBS" dnl Check for c-ares AC_CHECK_HEADER(ares.h, - [AC_CHECK_LIB(cares, ares_init, + [AC_CHECK_LIB(cares, ares_parse_mx_reply, [ LIBS="-lcares $LIBS $SERVER_LIBS" ],