From f3b04854b855e1547182bc36d57841dac3b041d8 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 27 May 2010 23:38:02 +0200 Subject: s3-waf: Set HAVE_GSSAPI if gssapi libs were found --- source3/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index 7472c7d929..e2e6f4d02c 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 -- cgit