* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: gssapi_krb.c,v 1.2 2011/03/30 15:48:41 smann Exp $ */
+/* $Id: gssapi_krb.c,v 1.3 2011/04/05 19:16:54 smann Exp $ */
#include <config.h>
int
main() {
-#if defined(HAVE_GSSAPI_H) && defined(HAVE_KRB5_H)
+#if (defined(HAVE_GSSAPI_H) || \
+ defined(HAVE_GSSAPI_GSSAPI_H)) && \
+ (defined(HAVE_KRB5_H) || \
+ defined(HAVE_KRB5_KRB5_H) || \
+ defined(HAVE_GSSAPI_GSSAPI_KRB5_H) || \
+ defined(HAVE_GSSAPI_KRB5_H) || \
+ defined(HAVE_KERBEROSV5_KRB5_H))
return (0);
#else
return (1);
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.522 $)
+AC_REVISION($Revision: 1.523 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
# first, deal with the obvious
if test \( -f /usr/include/kerberosv5/krb5.h -o \
-f /usr/include/krb5/krb5.h -o \
- -f /usr/include/krb5.h \) -a -f /usr/include/gssapi.h
+ -f /usr/include/krb5.h \) -a \
+ \( -f /usr/include/gssapi.h -o
+ -f /usr/include/gssapi/gssapi.h \)
then
use_gssapi=/usr
else