1 diff --exclude fetchmail.pot --exclude configure --exclude aclocal.m4 -urw t/fetchmail-6.2.5/configure.in fetchmail-6.2.5/configure.in
2 --- t/fetchmail-6.2.5/configure.in 2003-10-10 10:36:57.000000000 +0200
3 +++ fetchmail-6.2.5/configure.in 2003-12-31 22:38:47.000000000 +0100
5 LDFLAGS="$LDFLAGS -L$with_gssapi/lib"
8 + AC_CHECK_LIB(gss, gss_check_version, LIBS="$LIBS -lgss", nogss=t)
11 if test -f "$with_gssapi/include/roken.h"
13 LIBS="$LIBS -lkrb5 -lasn1 -ldes -lroken -ldb -ldl"
15 AC_CHECK_LIB(gssapi_krb5, gss_init_sec_context,LIBS="$LIBS -lgssapi_krb5",
16 AC_MSG_ERROR([could not find libgssapi_krb5 which is needed for GSSAPI support]), -lkrb5)
20 save_CPPFLAGS=$CPPFLAGS
21 CPPFLAGS="-I$with_gssapi/include"
22 - AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h)
23 + AC_CHECK_HEADERS(gss.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h)
24 if test "$ac_cv_header_gssapi_h" = "yes"; then
25 AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE))
27 diff --exclude fetchmail.pot --exclude configure --exclude aclocal.m4 -urw t/fetchmail-6.2.5/gssapi.c fetchmail-6.2.5/gssapi.c
28 --- t/fetchmail-6.2.5/gssapi.c 2003-07-17 03:03:22.000000000 +0200
29 +++ fetchmail-6.2.5/gssapi.c 2003-12-31 22:38:39.000000000 +0100
31 #include <netinet/in.h> /* for htonl/ntohl */
41 # ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
42 # define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
46 #define GSSAUTH_P_NONE 1
47 #define GSSAUTH_P_INTEGRITY 2