summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-12-28 22:29:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:40 -0500
commitd5fd59967878c6c0f7e760f7a4d6155603fe0170 (patch)
tree271827301003508c8dee3c7cb2312bcc2011c9ca /source4/include/system
parente08d8505d20910442cd7acaac0adeb3344083166 (diff)
downloadsamba-d5fd59967878c6c0f7e760f7a4d6155603fe0170.tar.gz
samba-d5fd59967878c6c0f7e760f7a4d6155603fe0170.tar.bz2
samba-d5fd59967878c6c0f7e760f7a4d6155603fe0170.zip
r4379: Merge more Kerberos related configure checks (by jra, gd and Lars
Mueller <lmuelle@suse.de>) from 3.0 to Samba4. Andrew Bartlett (This used to be commit 9c74e04098d50427f93219a6a451c44a2373db46)
Diffstat (limited to 'source4/include/system')
-rw-r--r--source4/include/system/kerberos.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/include/system/kerberos.h b/source4/include/system/kerberos.h
index 85c635e223..392300267e 100644
--- a/source4/include/system/kerberos.h
+++ b/source4/include/system/kerberos.h
@@ -29,13 +29,9 @@
#ifdef HAVE_GSSAPI_H
#include <gssapi.h>
-#endif
-
-#ifdef HAVE_GSSAPI_GSSAPI_H
+#elif defined(HAVE_GSSAPI_GSSAPI_H)
#include <gssapi/gssapi.h>
-#endif
-
-#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
+#elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)
#include <gssapi/gssapi_generic.h>
#endif