]> andersk Git - openssh.git/commitdiff
better glue w/ jakob@
authordjm <djm>
Thu, 15 May 2003 01:12:19 +0000 (01:12 +0000)
committerdjm <djm>
Thu, 15 May 2003 01:12:19 +0000 (01:12 +0000)
configure.ac

index 5a42e8ace252120299c4b9d71cf2bf58b489c8e6..d622ea56261cb8d7817f73240d50dd6fa46072eb 100644 (file)
@@ -1859,26 +1859,15 @@ AC_ARG_WITH(dns,
        [  --with-dns              Support for fetching keys from DNS (experimental)],
        [
                if test "x$withval" != "xno" ; then
-                       AC_DEFINE(DNS)
-                       DNS_MSG="yes" 
-               fi
-       ]
-)
-
-LWRES_MSG=""
-AC_ARG_WITH(lwres,
-       [  --with-lwres            Use lwres library/headers for DNS support],
-       [
-               if test "x$withval" != "xno" -a "x$DNS_MSG" = "xyes"; then
-                       AC_DEFINE(LWRES)
-                       LWRES_MSG="(using liblwres)" 
-                       AC_SEARCH_LIBS(lwres_herror, lwres)
+                       DNS_MSG="no (system lacks getrrsetbyname)"
+                       AC_SEARCH_LIBS(getrrsetbyname, resolv, [
+                               AC_DEFINE(DNS)
+                               DNS_MSG="yes"
+                       ])
                fi
        ]
 )
 
-
-
 # Check whether user wants Kerberos 5 support
 KRB5_MSG="no" 
 AC_ARG_WITH(kerberos5,
@@ -2603,7 +2592,7 @@ if test ! -z "$superuser_path" ; then
 echo "          sshd superuser user PATH: $J"
 fi
 echo "                    Manpage format: $MANTYPE"
-echo "                       DNS support: $DNS_MSG $LWRES_MSG"
+echo "                       DNS support: $DNS_MSG"
 echo "                       PAM support: $PAM_MSG"
 echo "                KerberosIV support: $KRB4_MSG"
 echo "                 KerberosV support: $KRB5_MSG"
This page took 0.050629 seconds and 5 git commands to generate.