summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-02 21:53:07 +1100
committerDamien Miller <djm@mindrot.org>2011-01-02 21:53:07 +1100
commit41bccf75af219888d55552134242207392d91d67 (patch)
tree9cf106e3254736913d76001ce707f554facb436a
parent4a06f9271fe5341c942232015add391cee366b68 (diff)
- (djm) [configure.ac] Check whether libdes is needed when building
with Heimdal krb5 support. On OpenBSD this library no longer exists, so linking it unconditionally causes a build failure; ok dtucker
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.in4
-rw-r--r--configure.ac8
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5007e8c52..a1828c1f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
120110102 120110102
2 - (djm) [loginrec.c] Fix some fd leaks on error paths. ok dtucker 2 - (djm) [loginrec.c] Fix some fd leaks on error paths. ok dtucker
3 - (djm) [configure.ac] Check whether libdes is needed when building
4 with Heimdal krb5 support. On OpenBSD this library no longer exists,
5 so linking it unconditionally causes a build failure; ok dtucker
3 6
420101226 720101226
5 - (dtucker) OpenBSD CVS Sync 8 - (dtucker) OpenBSD CVS Sync
diff --git a/Makefile.in b/Makefile.in
index bfd37d51e..889b23db3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.311 2010/08/31 12:47:15 djm Exp $ 1# $Id: Makefile.in,v 1.312 2011/01/02 10:53:08 djm Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -230,7 +230,7 @@ catman-do:
230 @for f in $(MANPAGES_IN) ; do \ 230 @for f in $(MANPAGES_IN) ; do \
231 base=`echo $$f | sed 's/\..*$$//'` ; \ 231 base=`echo $$f | sed 's/\..*$$//'` ; \
232 echo "$$f -> $$base.0" ; \ 232 echo "$$f -> $$base.0" ; \
233 nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \ 233 mandoc $$f | cat -v | sed -e 's/.\^H//g' \
234 >$$base.0 ; \ 234 >$$base.0 ; \
235 done 235 done
236 236
diff --git a/configure.ac b/configure.ac
index 0ea76c8fd..ec562b1c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.459 2010/12/04 12:20:50 dtucker Exp $ 1# $Id: configure.ac,v 1.460 2011/01/02 10:53:09 djm Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.459 $) 18AC_REVISION($Revision: 1.460 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -3516,10 +3516,12 @@ AC_ARG_WITH(kerberos5,
3516 [ char *tmp = heimdal_version; ], 3516 [ char *tmp = heimdal_version; ],
3517 [ AC_MSG_RESULT(yes) 3517 [ AC_MSG_RESULT(yes)
3518 AC_DEFINE(HEIMDAL) 3518 AC_DEFINE(HEIMDAL)
3519 K5LIBS="-lkrb5 -ldes" 3519 K5LIBS="-lkrb5"
3520 K5LIBS="$K5LIBS -lcom_err -lasn1" 3520 K5LIBS="$K5LIBS -lcom_err -lasn1"
3521 AC_CHECK_LIB(roken, net_write, 3521 AC_CHECK_LIB(roken, net_write,
3522 [K5LIBS="$K5LIBS -lroken"]) 3522 [K5LIBS="$K5LIBS -lroken"])
3523 AC_CHECK_LIB(des, des_cbc_encrypt,
3524 [K5LIBS="$K5LIBS -ldes"])
3523 ], 3525 ],
3524 [ AC_MSG_RESULT(no) 3526 [ AC_MSG_RESULT(no)
3525 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 3527 K5LIBS="-lkrb5 -lk5crypto -lcom_err"