diff options
author | dtucker <dtucker> | 2004-02-23 23:37:33 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2004-02-23 23:37:33 +0000 |
commit | 1b623779f646db5d20e6551ee94a202edc4501d0 (patch) | |
tree | a533ce707c131247b626220e481f41c1428dee45 /ssh-gss.h | |
parent | 30d9306eddd68141124fb268d2466b522c352fe3 (diff) | |
download | openssh-1b623779f646db5d20e6551ee94a202edc4501d0.tar.gz |
- (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
Diffstat (limited to 'ssh-gss.h')
-rw-r--r-- | ssh-gss.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -30,11 +30,19 @@ #include "buffer.h" +#ifdef HAVE_GSSAPI_H #include <gssapi.h> +#elif defined(HAVE_GSSAPI_GSSAPI_H) +#include <gssapi/gssapi.h> +#endif #ifdef KRB5 -#ifndef HEIMDAL -#include <gssapi_generic.h> +# ifndef HEIMDAL +# ifdef HAVE_GSSAPI_GENERIC_H +# include <gssapi_generic.h> +# elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) +# include <gssapi/gssapi_generic.h> +# endif /* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ |