summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-06-30 19:21:36 +1000
committerDamien Miller <djm@mindrot.org>2003-06-30 19:21:36 +1000
commit200d0a7bf58f5ef3679d2bab1824ac4fcc5a088f (patch)
tree0cf2cca89f0174b28297055890a3f60fb6f2c734 /configure.ac
parent6eb9304782a7404fca406f742d4546e55c8dc1c7 (diff)
downloadopenssh-git-200d0a7bf58f5ef3679d2bab1824ac4fcc5a088f.tar.gz
- (djm) Search for support functions necessary to build our
getrrsetbyname() replacement. Patch from Roumen Petrov
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index bf00443a..81ad26b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.129 2003/06/29 11:30:41 dtucker Exp $
+# $Id: configure.ac,v 1.130 2003/06/30 09:21:36 djm Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -1876,7 +1876,12 @@ AC_ARG_WITH(dns,
DNS_MSG="yes"
AC_DEFINE(DNS)
AC_SEARCH_LIBS(getrrsetbyname, resolv,
- [AC_DEFINE(HAVE_GETRRSETBYNAME)])
+ [AC_DEFINE(HAVE_GETRRSETBYNAME)],
+ [
+ # Needed by our getrrsetbyname()
+ AC_SEARCH_LIBS(res_query, resolv)
+ AC_SEARCH_LIBS(dn_expand, resolv)
+ ])
fi
]
)
@@ -1913,7 +1918,7 @@ AC_ARG_WITH(kerberos5,
if test ! -z "$blibpath" ; then
blibpath="$blibpath:${KRB5ROOT}/lib"
fi
- AC_CHECK_LIB(resolv, dn_expand, , )
+ AC_SEARCH_LIBS(dn_expand, resolv)
KRB5=yes
fi