From 2829d91cb807252dec5c843f8fb1fb38fb34cd07 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 10 Jun 2007 08:51:36 +0000 Subject: Check for dn_skipname() when checking res_search() to resolve µClibc compile failures. This works by disabling the DNS alias detection feature, which is however deprecated anyways. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/branches/BRANCH_6-3/; revision=5106 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index db381db3..efb6ba15 100644 --- a/configure.ac +++ b/configure.ac @@ -195,10 +195,10 @@ for lib in '' -lresolv; do #include #endif extern int res_search(); -]], [[res_search(0, 0, 0, 0, 0);]])], +]], [[res_search(0, 0, 0, 0, 0); dn_skipname(0,0);]])], [AC_MSG_RESULT([found]) AC_DEFINE(HAVE_RES_SEARCH, [1], - [Define to 1 if you have the 'res_search' function.]) + [Define to 1 if you have the 'res_search' and 'dn_skipname' functions.]) break], [AC_MSG_RESULT([not found])]) LIBS=$old_LIBS done -- cgit v1.2.3