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.0.25~12 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=241670ec23d05800e0a04957d6293de9a39075fb;p=tinc Add support to link against libresolv Mac OS X --- diff --git a/configure.ac b/configure.ac index bb2dc802..b43bec8c 100644 --- a/configure.ac +++ b/configure.ac @@ -202,7 +202,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 ])