From: Alexis Hildebrandt Date: Sun, 22 Jun 2014 14:43:15 +0000 (+0200) Subject: Add support to link against libresolv Mac OS X X-Git-Tag: release-1.1pre11~100 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=b99e1a306c7fb8f43dd61e432f3c896f5142e4ac;p=tinc Add support to link against libresolv Mac OS X --- diff --git a/configure.ac b/configure.ac index 6ed4dd99..5efb412e 100644 --- a/configure.ac +++ b/configure.ac @@ -204,7 +204,7 @@ AC_CHECK_DECLS([freeaddrinfo, gai_strerror, getaddrinfo, getnameinfo], [], [], [#include "src/have.h"] ) -AC_CHECK_DECLS([res_init], [], [], [ +AC_CHECK_DECLS([res_init], [LIBS="$LIBS -lresolv"], [], [ #include #include ])