diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-19 17:28:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-19 17:28:51 +0000 |
commit | e9cb1840da3f730aba53e1b0f1e363e8c6d497e4 (patch) | |
tree | 175c2a164e930facf4a4dbb2ef0c5453db550c7d | |
parent | 0a737a017a4ee0d68c6cbf37ebe49f1bd932cc50 (diff) | |
download | fetchmail-e9cb1840da3f730aba53e1b0f1e363e8c6d497e4.tar.gz fetchmail-e9cb1840da3f730aba53e1b0f1e363e8c6d497e4.tar.bz2 fetchmail-e9cb1840da3f730aba53e1b0f1e363e8c6d497e4.zip |
Add Nalin Dahyabhai's Kerberos patch.
svn path=/trunk/; revision=557
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | configure.in | 8 | ||||
-rw-r--r-- | driver.c | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -6,6 +6,9 @@ Release Notes: +pl 2.0.1 (): +* Include Nalin Dahyabhai's patch for MIT Kerberos support. + fetchmail-2.0 (Mon Nov 18 00:32:17 EST 1996): * Fix typo in setitimer call setup that caused obscure bugs under FreeBSD. diff --git a/configure.in b/configure.in index a7414204..91dae06e 100644 --- a/configure.in +++ b/configure.in @@ -57,6 +57,14 @@ then LIBS="$LIBS -lkrb -ldes" fi +if test -f "/usr/athena/include/krb.h" +then + CFLAGS="$CFLAGS -DKERBEROS_V4 -I/usr/athena/include" + LDFLAGS="$LDFLAGS -L/usr/athena/lib" + LIBS="$LIBS -lkrb -ldes" +fi + + dnl All AC_CHECK_FUNCs must precede the following AC_SUBSTs AC_SUBST(EXTRASRC) @@ -613,7 +613,7 @@ struct query *ctl; /* query control record */ #ifdef KERBEROS_V4 int -kerberos_auth (int socket, canonical) +kerberos_auth (socket, canonical) /* authenticate to the server host using Kerberos V4 */ int socket; /* socket to server host */ const char *canonical; /* server name */ |