]> andersk Git - openssh.git/blobdiff - configure.ac
- (djm) Configure glue for DNS support (code doesn't work in portable yet)
[openssh.git] / configure.ac
index c9aaede20cbd562a13dda9fc3dc2191663ac9586..5a42e8ace252120299c4b9d71cf2bf58b489c8e6 100644 (file)
@@ -1804,7 +1804,6 @@ if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
 fi
 
 SCARD_MSG="no" 
-
 # Check whether user wants sectok support
 AC_ARG_WITH(sectok,
        [  --with-sectok           Enable smartcard support using libsectok],
@@ -1854,6 +1853,32 @@ if test x$opensc_config_prefix != x ; then
   fi
 fi
 
+# Check whether user wants DNS support
+DNS_MSG="no" 
+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)
+               fi
+       ]
+)
+
+
+
 # Check whether user wants Kerberos 5 support
 KRB5_MSG="no" 
 AC_ARG_WITH(kerberos5,
@@ -2578,7 +2603,8 @@ if test ! -z "$superuser_path" ; then
 echo "          sshd superuser user PATH: $J"
 fi
 echo "                    Manpage format: $MANTYPE"
-echo "                       PAM support: ${PAM_MSG}"
+echo "                       DNS support: $DNS_MSG $LWRES_MSG"
+echo "                       PAM support: $PAM_MSG"
 echo "                KerberosIV support: $KRB4_MSG"
 echo "                 KerberosV support: $KRB5_MSG"
 echo "                 Smartcard support: $SCARD_MSG"
This page took 0.200695 seconds and 4 git commands to generate.