aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2007-06-10 08:51:36 +0000
committerMatthias Andree <matthias.andree@gmx.de>2007-06-10 08:51:36 +0000
commit2829d91cb807252dec5c843f8fb1fb38fb34cd07 (patch)
treeecb9f1ffa6abc5410e66bf3816e2cd1364f2be34 /configure.ac
parentf54c5666b6ed9f1c2859b9ef39a4f7b4e4970486 (diff)
downloadfetchmail-2829d91cb807252dec5c843f8fb1fb38fb34cd07.tar.gz
fetchmail-2829d91cb807252dec5c843f8fb1fb38fb34cd07.tar.bz2
fetchmail-2829d91cb807252dec5c843f8fb1fb38fb34cd07.zip
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. svn path=/branches/BRANCH_6-3/; revision=5106
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
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 <resolv.h>
#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