summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-15 12:27:08 +1000
committerDamien Miller <djm@mindrot.org>2003-05-15 12:27:08 +1000
commitd9ec370ac3a27fc9374c4182b7477ec0fc8473f4 (patch)
tree52b50f4423e5ef48b215caefa1bef41258e57907 /configure.ac
parent2aa0ab463f479649760110ca52fa341880c5ae3a (diff)
- (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index c8a99137..66d66835 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.119 2003/05/15 01:12:19 djm Exp $
+# $Id: configure.ac,v 1.120 2003/05/15 02:27:08 djm Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -1859,11 +1859,10 @@ AC_ARG_WITH(dns,
[ --with-dns Support for fetching keys from DNS (experimental)],
[
if test "x$withval" != "xno" ; then
- DNS_MSG="no (system lacks getrrsetbyname)"
- AC_SEARCH_LIBS(getrrsetbyname, resolv, [
- AC_DEFINE(DNS)
- DNS_MSG="yes"
- ])
+ DNS_MSG="yes"
+ AC_DEFINE(DNS)
+ AC_SEARCH_LIBS(getrrsetbyname, resolv,
+ [AC_DEFINE(HAVE_GETRRSETBYNAME)])
fi
]
)