summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-30 12:05:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-30 04:58:04 +0200
commite1eae822856c076f63874d8d3b07691b3154848d (patch)
treea4784ae6685cd7bd810bd626c0f600c7ca8f0f6a /source3
parentb1f2547699d335287d5f007d108a067eb7a0203d (diff)
downloadsamba-e1eae822856c076f63874d8d3b07691b3154848d.tar.gz
samba-e1eae822856c076f63874d8d3b07691b3154848d.tar.bz2
samba-e1eae822856c076f63874d8d3b07691b3154848d.zip
kerberos: Only include gssapi/gssapi_krb5.h when available
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
-rw-r--r--source3/wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 3624c25e62..8164a44f00 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3791,7 +3791,7 @@ if test x"$with_ads_support" != x"no"; then
# now check for gssapi headers. This is also done here to allow for
# different kerberos include paths
- AC_CHECK_HEADERS(gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h com_err.h)
+ AC_CHECK_HEADERS(gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h gssapi/gssapi_krb5.h com_err.h)
##################################################################
# we might need the k5crypto and com_err libraries on some systems
diff --git a/source3/wscript b/source3/wscript
index 175bbf12ef..78ff40c99a 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -619,7 +619,7 @@ msg.msg_acctrightslen = sizeof(fd);
conf.check_cfg(path="krb5-config", args="--cflags --libs",
package="gssapi", uselib_store="krb5")
conf.CHECK_HEADERS('krb5.h krb5/locate_plugin.h', lib='krb5')
- conf.CHECK_HEADERS('gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h com_err.h', lib='krb5')
+ conf.CHECK_HEADERS('gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h gssapi/gssapi_krb5.h com_err.h', lib='krb5')
if conf.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
conf.env['WINBIND_KRB5_LOCATOR'] = 'bin/winbind_krb5_locator.so'