From 241670ec23d05800e0a04957d6293de9a39075fb Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 22 Jun 2014 16:43:15 +0200 Subject: [PATCH] Add support to link against libresolv Mac OS X --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bb2dc80..b43bec8 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 ]) -- 2.25.1