diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-15 10:53:49 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-15 10:53:49 +1000 |
commit | 7abe09bf86b0ce437dfbf5dd7ccafadd1f39289e (patch) | |
tree | 8b2d0ee59f1c796affbbe18a643f1ddd0d97f980 /configure.ac | |
parent | 54c459866e2da288a3895eecf097104ac6f9f4d0 (diff) |
- (djm) Configure glue for DNS support (code doesn't work in portable yet)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 7a24838fe..000fb4bc3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.117 2003/05/10 09:28:02 djm Exp $ | 1 | # $Id: configure.ac,v 1.118 2003/05/15 00:53:49 djm Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -1804,7 +1804,6 @@ if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | |||
1804 | fi | 1804 | fi |
1805 | 1805 | ||
1806 | SCARD_MSG="no" | 1806 | SCARD_MSG="no" |
1807 | |||
1808 | # Check whether user wants sectok support | 1807 | # Check whether user wants sectok support |
1809 | AC_ARG_WITH(sectok, | 1808 | AC_ARG_WITH(sectok, |
1810 | [ --with-sectok Enable smartcard support using libsectok], | 1809 | [ --with-sectok Enable smartcard support using libsectok], |
@@ -1854,6 +1853,32 @@ if test x$opensc_config_prefix != x ; then | |||
1854 | fi | 1853 | fi |
1855 | fi | 1854 | fi |
1856 | 1855 | ||
1856 | # Check whether user wants DNS support | ||
1857 | DNS_MSG="no" | ||
1858 | AC_ARG_WITH(dns, | ||
1859 | [ --with-dns Support for fetching keys from DNS (experimental)], | ||
1860 | [ | ||
1861 | if test "x$withval" != "xno" ; then | ||
1862 | AC_DEFINE(DNS) | ||
1863 | DNS_MSG="yes" | ||
1864 | fi | ||
1865 | ] | ||
1866 | ) | ||
1867 | |||
1868 | LWRES_MSG="" | ||
1869 | AC_ARG_WITH(lwres, | ||
1870 | [ --with-lwres Use lwres library/headers for DNS support], | ||
1871 | [ | ||
1872 | if test "x$withval" != "xno" -a "x$DNS_MSG" = "xyes"; then | ||
1873 | AC_DEFINE(LWRES) | ||
1874 | LWRES_MSG="(using liblwres)" | ||
1875 | AC_SEARCH_LIBS(lwres_herror, lwres) | ||
1876 | fi | ||
1877 | ] | ||
1878 | ) | ||
1879 | |||
1880 | |||
1881 | |||
1857 | # Check whether user wants Kerberos 5 support | 1882 | # Check whether user wants Kerberos 5 support |
1858 | KRB5_MSG="no" | 1883 | KRB5_MSG="no" |
1859 | AC_ARG_WITH(kerberos5, | 1884 | AC_ARG_WITH(kerberos5, |
@@ -2578,7 +2603,8 @@ if test ! -z "$superuser_path" ; then | |||
2578 | echo " sshd superuser user PATH: $J" | 2603 | echo " sshd superuser user PATH: $J" |
2579 | fi | 2604 | fi |
2580 | echo " Manpage format: $MANTYPE" | 2605 | echo " Manpage format: $MANTYPE" |
2581 | echo " PAM support: ${PAM_MSG}" | 2606 | echo " DNS support: $DNS_MSG $LWRES_MSG" |
2607 | echo " PAM support: $PAM_MSG" | ||
2582 | echo " KerberosIV support: $KRB4_MSG" | 2608 | echo " KerberosIV support: $KRB4_MSG" |
2583 | echo " KerberosV support: $KRB5_MSG" | 2609 | echo " KerberosV support: $KRB5_MSG" |
2584 | echo " Smartcard support: $SCARD_MSG" | 2610 | echo " Smartcard support: $SCARD_MSG" |