From e1f2442096e626b49e63838b28698965eef52518 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 15 Feb 2011 16:31:35 +1100 Subject: s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett --- source3/wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index c87fb456ae..4938f165f2 100644 --- a/source3/wscript +++ b/source3/wscript @@ -759,6 +759,12 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab); headers='krb5.h', lib='krb5', execute=True, msg="Checking whether the WRFILE:-keytab is supported"); + # Check for KRB5_DEPRECATED handling + conf.CHECK_CODE('''#define KRB5_DEPRECATED 1 +#include ''', + 'HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER', addmain=False, + link=False, + msg="Checking for KRB5_DEPRECATED define taking an identifier") else: conf.SET_TARGET_TYPE('krb5', 'EMPTY') conf.SET_TARGET_TYPE('gssapi', 'EMPTY') -- cgit