From 5561e0b73dcaf0d6cf56afcff2a09d87ae14f34e Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 20 Apr 2004 20:28:55 +1000 Subject: - (djm) [configure.ac] Check whether libroken is required when building with Heimdal --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6ba4d244..3e1ee8aa 100644 --- a/configure.ac +++ b/configure.ac @@ -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" -- cgit v1.2.3