- (djm) [configure.ac] Check whether libroken is required when building

with Heimdal
This commit is contained in:
Damien Miller 2004-04-20 20:28:55 +10:00
parent 50bec89baf
commit 5561e0b73d
2 changed files with 8 additions and 3 deletions

View File

@ -23,6 +23,8 @@
spotted by cschneid AT cschneid.com
- (djm) [openbsd-compat/sys-queue.h] Sync with OpenBSD, needed for
above change
- (djm) [configure.ac] Check whether libroken is required when building
with Heimdal
20040419
- (dtucker) OpenBSD CVS Sync
@ -1027,4 +1029,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3328 2004/04/20 10:20:40 djm Exp $
$Id: ChangeLog,v 1.3329 2004/04/20 10:28:55 djm Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.214 2004/04/17 03:03:07 tim Exp $
# $Id: configure.ac,v 1.215 2004/04/20 10:28:56 djm Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -2207,7 +2207,10 @@ AC_ARG_WITH(kerberos5,
[ char *tmp = heimdal_version; ],
[ AC_MSG_RESULT(yes)
AC_DEFINE(HEIMDAL)
K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
K5LIBS="-lkrb5 -ldes"
K5LIBS="$K5LIBS -lcom_err -lasn1"
AC_CHECK_LIB(roken, net_write,
[K5LIBS="$K5LIBS -lroken"])
],
[ AC_MSG_RESULT(no)
K5LIBS="-lkrb5 -lk5crypto -lcom_err"