summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-12 21:31:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:58 -0500
commit8c76903efb1277bca7d8bf6d8183763a5e3951db (patch)
treeb587c91c4f6edcf03abd05365eb10c75b3e4cf1c /source3
parent18d5a26f74ea49ba0a059cfb942c4c8ac9956d3b (diff)
downloadsamba-8c76903efb1277bca7d8bf6d8183763a5e3951db.tar.gz
samba-8c76903efb1277bca7d8bf6d8183763a5e3951db.tar.bz2
samba-8c76903efb1277bca7d8bf6d8183763a5e3951db.zip
r15550: make sure to pick up the -lresolv libs on systems without -lldap to pull it in
(This used to be commit 4f3a1c2c58a4087f3a2f72f471cbaf2bad5addfe)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 079202ac3b..d26e13a6bb 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1531,8 +1531,10 @@ if test x"$samba_stat_hires_notimespec" = x"yes" ; then
fi
#####################################
-# we might need the resolv library on some systems
+# needed for SRV lookups
AC_CHECK_LIB(resolv, dn_expand)
+AC_CHECK_LIB(resolv, _dn_expand)
+AC_CHECK_LIB(resolv, __dn_expand)
#
# Check for the functions putprpwnam, set_auth_parameters,