From: Fredrik Tolf Date: Sat, 12 Jan 2008 12:47:20 +0000 (+0100) Subject: Check for __res_query as well as res_query. X-Git-Tag: 1.1~28 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=203b3877d564199078fac0feb7efe0621a914263;p=doldaconnect.git Check for __res_query as well as res_query. --- diff --git a/configure.in b/configure.in index e42caf8..548f9af 100644 --- a/configure.in +++ b/configure.in @@ -202,6 +202,8 @@ AC_CHECK_MEMBER(struct sockaddr_in6.sin6_family, [ AC_DEFINE(HAVE_IPV6) ], , [#i AH_TEMPLATE(HAVE_RESOLVER, [define if your system supports the res_* functions to fetch DNS RRs]) AC_CHECK_LIB(resolv, res_query, [ AC_DEFINE(HAVE_RESOLVER) LDFLAGS="$LDFLAGS -lresolv" ]) +AC_CHECK_LIB(resolv, __res_query, [ AC_DEFINE(HAVE_RESOLVER) + LDFLAGS="$LDFLAGS -lresolv" ]) # Unix credentials selector AH_TEMPLATE(UNIX_AUTH_STYLE, [undefine for no Unix auth, 1 for Linux style, 2 for BSD style])