summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-27 23:38:02 +0200
committerKai Blin <kai@samba.org>2010-05-30 22:54:27 +0200
commitf3b04854b855e1547182bc36d57841dac3b041d8 (patch)
treeed538d8c8c75f003f94822c55d6ab6ab69aa902a /source3/wscript
parent6a78241f4a9aae84e91ea2e49f066f2e5203beba (diff)
downloadsamba-f3b04854b855e1547182bc36d57841dac3b041d8.tar.gz
samba-f3b04854b855e1547182bc36d57841dac3b041d8.tar.xz
samba-f3b04854b855e1547182bc36d57841dac3b041d8.zip
s3-waf: Set HAVE_GSSAPI if gssapi libs were found
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 7472c7d9292..e2e6f4d02c0 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -406,7 +406,8 @@ utimensat vsyslog _write __write __xstat
conf.CHECK_FUNCS_IN('crypto', 'des_set_key')
conf.CHECK_FUNCS_IN('copy_Authenticator', 'asn1')
conf.CHECK_FUNCS_IN('roken_getaddrinfo_hostspec', 'roken')
- conf.CHECK_FUNCS_IN('gss_display_status', 'gssapi gssapi_krb5')
+ if conf.CHECK_FUNCS_IN('gss_display_status', 'gssapi gssapi_krb5'):
+ conf.DEFINE('HAVE_GSSAPI', '1')
conf.CHECK_FUNCS_IN('krb5_mk_req_extended krb5_kt_compare', 'krb5')
conf.CHECK_FUNCS('''
krb5_set_real_time krb5_set_default_in_tkt_etypes krb5_set_default_tgs_enctypes