summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-15 10:53:49 +1000
committerDamien Miller <djm@mindrot.org>2003-05-15 10:53:49 +1000
commit7abe09bf86b0ce437dfbf5dd7ccafadd1f39289e (patch)
tree8b2d0ee59f1c796affbbe18a643f1ddd0d97f980
parent54c459866e2da288a3895eecf097104ac6f9f4d0 (diff)
- (djm) Configure glue for DNS support (code doesn't work in portable yet)
-rw-r--r--ChangeLog3
-rw-r--r--acconfig.h8
-rw-r--r--configure.ac32
3 files changed, 38 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ec753efe..590a3f6c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
13 - markus@cvs.openbsd.org 2003/05/14 22:24:42 13 - markus@cvs.openbsd.org 2003/05/14 22:24:42
14 [clientloop.c session.c ssh.1] 14 [clientloop.c session.c ssh.1]
15 allow to send a BREAK to the remote system; ok various 15 allow to send a BREAK to the remote system; ok various
16 - (djm) Configure glue for DNS support (code doesn't work in portable yet)
16 17
1720030514 1820030514
18 - (djm) Bug #117: Don't lie to PAM about username 19 - (djm) Bug #117: Don't lie to PAM about username
@@ -1488,4 +1489,4 @@
1488 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1489 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1489 ok provos@ 1490 ok provos@
1490 1491
1491$Id: ChangeLog,v 1.2703 2003/05/15 00:20:13 djm Exp $ 1492$Id: ChangeLog,v 1.2704 2003/05/15 00:53:49 djm Exp $
diff --git a/acconfig.h b/acconfig.h
index 0a4706425..ef43a9d25 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -1,4 +1,4 @@
1/* $Id: acconfig.h,v 1.151 2003/05/10 07:05:46 dtucker Exp $ */ 1/* $Id: acconfig.h,v 1.152 2003/05/15 00:53:49 djm Exp $ */
2 2
3#ifndef _CONFIG_H 3#ifndef _CONFIG_H
4#define _CONFIG_H 4#define _CONFIG_H
@@ -380,6 +380,12 @@
380/* Define if cmsg_type is not passed correctly */ 380/* Define if cmsg_type is not passed correctly */
381#undef BROKEN_CMSG_TYPE 381#undef BROKEN_CMSG_TYPE
382 382
383/* Define if DNS support is to be activated */
384#undef DNS
385
386/* Define if -llwres is to be used */
387#undef LWRES
388
383@BOTTOM@ 389@BOTTOM@
384 390
385/* ******************* Shouldn't need to edit below this line ************** */ 391/* ******************* Shouldn't need to edit below this line ************** */
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
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -1804,7 +1804,6 @@ if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
1804fi 1804fi
1805 1805
1806SCARD_MSG="no" 1806SCARD_MSG="no"
1807
1808# Check whether user wants sectok support 1807# Check whether user wants sectok support
1809AC_ARG_WITH(sectok, 1808AC_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
1855fi 1854fi
1856 1855
1856# Check whether user wants DNS support
1857DNS_MSG="no"
1858AC_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
1868LWRES_MSG=""
1869AC_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
1858KRB5_MSG="no" 1883KRB5_MSG="no"
1859AC_ARG_WITH(kerberos5, 1884AC_ARG_WITH(kerberos5,
@@ -2578,7 +2603,8 @@ if test ! -z "$superuser_path" ; then
2578echo " sshd superuser user PATH: $J" 2603echo " sshd superuser user PATH: $J"
2579fi 2604fi
2580echo " Manpage format: $MANTYPE" 2605echo " Manpage format: $MANTYPE"
2581echo " PAM support: ${PAM_MSG}" 2606echo " DNS support: $DNS_MSG $LWRES_MSG"
2607echo " PAM support: $PAM_MSG"
2582echo " KerberosIV support: $KRB4_MSG" 2608echo " KerberosIV support: $KRB4_MSG"
2583echo " KerberosV support: $KRB5_MSG" 2609echo " KerberosV support: $KRB5_MSG"
2584echo " Smartcard support: $SCARD_MSG" 2610echo " Smartcard support: $SCARD_MSG"