summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-03-12 08:41:43 +0000
committerArthur de Jong <arthur@arthurdejong.org>2011-03-12 08:41:43 +0000
commitf98063721b38dcdd06e074549eebe7b74ea257fd (patch)
treeeb7b7dd5ca4948ac2d94c6c6eff6bba3caff97fa
parentdab5d66ad94e6937fdbe91bb5523b647dfe90a85 (diff)
include the resolv library for hstrerror() on platforms that need it (thanks Peter Bray)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1391 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eb6efac..5b4644a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -551,6 +551,7 @@ then
# checks for availability of system libraries for nslcd
AC_SEARCH_LIBS(gethostbyname,nsl socket)
+ AC_SEARCH_LIBS(hstrerror,resolv)
AC_SEARCH_LIBS(socket,socket)
AC_SEARCH_LIBS(dlopen,dl)