diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-05-14 20:32:55 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-05-14 20:32:55 +0000 |
commit | e84cdf5c0dd9296e392cec1f2312dcbc4d050752 (patch) | |
tree | 69691c2904fb6590c8fc81000174b17ce75e20f5 | |
parent | d9ffbaedbc0794b268ed9807b8411d21458ea2c3 (diff) | |
download | fetchmail-e84cdf5c0dd9296e392cec1f2312dcbc4d050752.tar.gz fetchmail-e84cdf5c0dd9296e392cec1f2312dcbc4d050752.tar.bz2 fetchmail-e84cdf5c0dd9296e392cec1f2312dcbc4d050752.zip |
Support Kerberos installations where krb5.h and perhaps roken.h are in .../include/krb5.
Taken from NetBSD portable packages collection patch-ae.
svn path=/branches/BRANCH_6-3/; revision=4832
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -59,6 +59,8 @@ 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.) +* Support Kerberos installations where krb5.h and perhaps roken.h are in + .../include/krb5. Taken from NetBSD portable packages collection patch-ae. * On NetBSD, link against -lroken -lcom_err if --with-kerberos is enabled. * Drop #include <com_err.h> from Kerberos 5 header file, fixes compile error on SUSE Linux 10.0. diff --git a/configure.ac b/configure.ac index e453268f..7b47be0f 100644 --- a/configure.ac +++ b/configure.ac @@ -448,10 +448,11 @@ else with_kerberos5= for dir in $searchdirs do AC_MSG_CHECKING([for Kerberos V in $dir]) - if test -f "$dir/include/krb5.h" + if test -f "$dir/include/krb5.h" || test -f "$dir/include/krb5/krb5.h" then + if test -d "$dir/include/krb5" ; then CPFLAGS="$CPFLAGS -I$dir/include/krb5" ; fi ac_krblibs= - if test -f "$dir/include/roken.h" + if test -f "$dir/include/roken.h" || test -f "$dir/include/krb5/roken.h" then ac_krblibs="-lasn1 -lroken -lcom_err" AC_MSG_RESULT([Heimdal found]) |