aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-05-14 15:29:50 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-05-14 15:29:50 +0000
commitdc8108d6cf7fc7dc54d897b18414b3f10717db58 (patch)
treea10992367fb8ce47515d758c10766c737a27c3f2
parent6c9f8c1a8fd6398f072acf2eaf0536b3bbde2b8e (diff)
downloadfetchmail-dc8108d6cf7fc7dc54d897b18414b3f10717db58.tar.gz
fetchmail-dc8108d6cf7fc7dc54d897b18414b3f10717db58.tar.bz2
fetchmail-dc8108d6cf7fc7dc54d897b18414b3f10717db58.zip
On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled.
svn path=/branches/BRANCH_6-3/; revision=4828
-rw-r--r--NEWS1
-rw-r--r--configure.ac5
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index de89ef6f..1ce8459b 100644
--- a/NEWS
+++ b/NEWS
@@ -59,6 +59,7 @@ fetchmail 6.3.5 (not yet released):
* When using NTLM authentication, use regular IMAP response code handler after
completing NTLM handshake, for robustness and consistency.
(Taken from the NetBSD portable packages collection, patch-ac.)
+* On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled.
# CHANGES:
* Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes
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])