From 0d27ed1c19d6de6bd50ab1f5096aee1c1ee97f69 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 24 Feb 2004 10:37:33 +1100 Subject: - (dtucker) [configure.ac gss-serv-krb5.c ssh-gss.h] Define GSSAPI when found with krb5-config, hunt down gssapi.h and friends. Based partially on patch from deengert at anl.gov. For the MIT Kerberos bug against krb5-config related to this see: http://krbdev.mit.edu/rt/Ticket/Display.html?id=2240 --- ssh-gss.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ssh-gss.h') diff --git a/ssh-gss.h b/ssh-gss.h index 2b6fe2130..4f032aa8f 100644 --- a/ssh-gss.h +++ b/ssh-gss.h @@ -30,11 +30,19 @@ #include "buffer.h" +#ifdef HAVE_GSSAPI_H #include +#elif defined(HAVE_GSSAPI_GSSAPI_H) +#include +#endif #ifdef KRB5 -#ifndef HEIMDAL -#include +# ifndef HEIMDAL +# ifdef HAVE_GSSAPI_GENERIC_H +# include +# elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) +# include +# endif /* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ -- cgit v1.2.3