]> Pileus Git - ~andy/fetchmail/commitdiff
Add Nalin Dahyabhai's Kerberos patch.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 19 Nov 1996 17:28:51 +0000 (17:28 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 19 Nov 1996 17:28:51 +0000 (17:28 -0000)
svn path=/trunk/; revision=557

NEWS
configure.in
driver.c

diff --git a/NEWS b/NEWS
index f622e71a57d979559d3e5e324b3867e92deaa62f..53b9b79608f63d99ac44bdaaa807d71c07e5de29 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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.
index a7414204916132b741ca222397fc6e4aace10b40..91dae06e74a11ca43dae8070a96e680845610050 100644 (file)
@@ -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)
index 95e4c45c3c1db04d7c4f4ce4f7dfcfd6d4d275b2..3272f523297f8ad1621842ff8e9042a7bb726fb6 100644 (file)
--- a/driver.c
+++ b/driver.c
@@ -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 */