From dc8108d6cf7fc7dc54d897b18414b3f10717db58 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 14 May 2006 15:29:50 +0000 Subject: On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled. svn path=/branches/BRANCH_6-3/; revision=4828 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 06d5357a..f2aa1cb6 100644 --- a/configure.ac +++ b/configure.ac @@ -510,7 +510,10 @@ then AS_MESSAGE(checking kerberosIV for `uname`...) AC_DEFINE(KERBEROS_V4,1,Define if you have Kerberos V4) CEFLAGS="$CEFLAGS -I/usr/include/kerberosIV" - LIBS="$LIBS -lkrb -ldes" + case `uname` in + NetBSD) LIBS="$LIBS -lkrb -ldes -lroken -lcom_err" ;; + OpenBSD) LIBS="$LIBS -lkrb -ldes" ;; + esac elif krb4-config 2> /dev/null >/dev/null ; then krb4_prefix=`krb4-config --prefix` AC_MSG_RESULT([krb4-config points to kerberosIV under $krb4_prefix]) -- cgit v1.2.3