diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-01 13:58:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-01 13:58:34 +0000 |
commit | d5aa82aa53596e5f05628823cfe66ca8fda749cf (patch) | |
tree | f47be543361f22f2aa142d87c4a39e4b66cb567d | |
parent | 2513ea1bb193ad13166122ae63879078282b5612 (diff) | |
download | fetchmail-d5aa82aa53596e5f05628823cfe66ca8fda749cf.tar.gz fetchmail-d5aa82aa53596e5f05628823cfe66ca8fda749cf.tar.bz2 fetchmail-d5aa82aa53596e5f05628823cfe66ca8fda749cf.zip |
Another try at Kerberos autoconfiguration.
svn path=/trunk/; revision=1130
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | driver.c | 6 | ||||
-rw-r--r-- | imap.c | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9ab2db52..bb783bdd 100644 --- a/configure.in +++ b/configure.in @@ -128,7 +128,7 @@ test "$with_POP2" = "yes" && AC_DEFINE(POP2_ENABLE) AC_ARG_WITH(kerberos, [ --with-kerberos=DIR point fetchmail compilation at a Kerberos directory]) -for dir in $with_kerberos /usr/kerberos /usr/athena +for dir in $with_kerberos /usr/kerberos /usr/kerberosIV /usr/athena do if test -f "$dir/include/krb.h" then @@ -41,8 +41,14 @@ #endif #ifdef KERBEROS_V4 +#if defined (__bsdi__) +#include <des.h> /* order of includes matters */ +#include <krb.h> +#define krb_get_err_text(e) (krb_err_txt[e]) +#else #include <krb.h> #include <des.h> +#endif /* ! defined (__bsdi__) */ #include <netinet/in.h> #include <netdb.h> #endif /* KERBEROS_V4 */ @@ -16,6 +16,10 @@ #include "socket.h" #ifdef KERBEROS_V4 +#if defined (__bsdi__) +#include <des.h> +#define krb_get_err_text(e) (krb_err_txt[e]) +#endif #include <krb.h> #endif /* KERBEROS_V4 */ |