aboutsummaryrefslogtreecommitdiffstats
path: root/wscript_configure_system_mitkrb5
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-22 15:18:22 +0200
committerStefan Metzmacher <metze@samba.org>2016-03-10 06:52:26 +0100
commit1fd5bdafbddfd0ad2926ef50a0cb7d07956ddd44 (patch)
tree606343a2196193f6e1382f891215085a53dce155 /wscript_configure_system_mitkrb5
parentcd8af25d4bf87a9156cb2afb3dd206c68b1bedd7 (diff)
downloadsamba-1fd5bdafbddfd0ad2926ef50a0cb7d07956ddd44.tar.gz
samba-1fd5bdafbddfd0ad2926ef50a0cb7d07956ddd44.tar.xz
samba-1fd5bdafbddfd0ad2926ef50a0cb7d07956ddd44.zip
wscript_configure_system_mitkrb5: add configure checks for GSS_KRB5_CRED_NO_CI_FLAGS_X
Newer MIT versions (maybe krb5-1.14) will also support this. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: G√ľnther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
-rw-r--r--wscript_configure_system_mitkrb54
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index 43535399d73..5b5d870f733 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -59,7 +59,8 @@ conf.CHECK_FUNCS_IN('_et_list', 'com_err')
conf.CHECK_HEADERS('com_err.h', lib='com_err')
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 gssapi/gssapi_krb5.h', lib='gssapi')
+possible_gssapi_headers="gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h gssapi/gssapi_krb5.h gssapi/gssapi_oid.h"
+conf.CHECK_HEADERS(possible_gssapi_headers, lib='gssapi')
conf.CHECK_FUNCS_IN('krb5_encrypt_data', 'k5crypto')
conf.CHECK_FUNCS_IN('des_set_key','crypto')
@@ -87,6 +88,7 @@ conf.CHECK_FUNCS_IN('''
gss_krb5_export_lucid_sec_context
gss_import_cred gss_export_cred
''', 'gssapi gssapi_krb5')
+conf.CHECK_VARIABLE('GSS_KRB5_CRED_NO_CI_FLAGS_X', headers=possible_gssapi_headers)
conf.CHECK_FUNCS_IN('krb5_mk_req_extended krb5_kt_compare', 'krb5')
conf.CHECK_FUNCS('''
krb5_auth_con_getrecvsubkey