diff options
author | peter <peter@FreeBSD.org> | 2001-08-10 09:43:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-08-10 09:43:22 +0000 |
commit | a037ef8f32200b26968e77344bcfb963251fa8b9 (patch) | |
tree | 2b4dc24b830b514680009ead3884ecb1c40974c7 /contrib/cvs/lib/xgssapi.h | |
parent | 590c411955d6975551ffeaf41d7faf4b26f836d1 (diff) | |
download | FreeBSD-src-a037ef8f32200b26968e77344bcfb963251fa8b9.zip FreeBSD-src-a037ef8f32200b26968e77344bcfb963251fa8b9.tar.gz |
Import cvs-1.11.1p1 onto vendor branch
Diffstat (limited to 'contrib/cvs/lib/xgssapi.h')
-rw-r--r-- | contrib/cvs/lib/xgssapi.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/cvs/lib/xgssapi.h b/contrib/cvs/lib/xgssapi.h new file mode 100644 index 0000000..31b8e39 --- /dev/null +++ b/contrib/cvs/lib/xgssapi.h @@ -0,0 +1,30 @@ +/* This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. */ + +/* This file performs the generic include magic necessary for using + * cross platform gssapi which configure doesn't perform itself. + */ + +/* Can't include both of these headers at the same time with Solaris 7 & + * Heimdal Kerberos 0.3. If some system ends up requiring both, a configure + * test like TIME_AND_SYS_TIME will probably be necessary. + */ +#ifdef HAVE_GSSAPI_H +# include <gssapi.h> +#else +/* Assume existance of this header so that the user will get an informative + * message if HAVE_GSSAPI somehow gets defined with both headers missing. + */ +# include <gssapi/gssapi.h> +#endif +#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H +/* MIT Kerberos 5 v1.2.1 */ +# include <gssapi/gssapi_generic.h> +#endif |