summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-25 17:53:16 +0200
committerGünther Deschner <gd@samba.org>2010-05-26 22:53:04 +0200
commiteb6d6114f31c5ef42f7573b94e9a522121a3f0a0 (patch)
tree6dc24c8b71b16dffd21d68394039b36b5deaffa5 /source3/wscript
parent229b090308d09e749f70155c798ae3826bf24164 (diff)
downloadsamba-eb6d6114f31c5ef42f7573b94e9a522121a3f0a0.tar.gz
samba-eb6d6114f31c5ef42f7573b94e9a522121a3f0a0.tar.xz
samba-eb6d6114f31c5ef42f7573b94e9a522121a3f0a0.zip
s3-waf: Allow to build with kerberos support
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 166f7c52953..09add3d8b24 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -426,6 +426,15 @@ krb5_get_credentials_for_user krb5_get_host_realm krb5_free_host_realm''',
krb5_auth_con_set_req_cksumtype''',
headers='krb5.h', always=True)
conf.CHECK_VARIABLE('AP_OPTS_USE_SUBKEY', headers='krb5.h')
+ conf.CHECK_VARIABLE('KV5M_KEYTAB', headers='krb5.h')
+ conf.CHECK_STRUCTURE_MEMBER('krb5_keytab_entry', 'key', headers='krb5.h',
+ define='HAVE_KRB5_KEYTAB_ENTRY_KEY')
+ conf.CHECK_STRUCTURE_MEMBER('krb5_keytab_entry', 'keyblock', headers='krb5.h',
+ define='HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK')
+ conf.CHECK_STRUCTURE_MEMBER('krb5_address', 'magic', headers='krb5.h',
+ define='HAVE_MAGIC_IN_KRB5_ADDRESS')
+ conf.CHECK_STRUCTURE_MEMBER('krb5_address', 'addrtype', headers='krb5.h',
+ define='HAVE_ADDRTYPE_IN_KRB5_ADDRESS')
else:
conf.SET_TARGET_TYPE('krb5', 'EMPTY')