summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-05 14:40:10 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:13 +0200
commitd3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0 (patch)
treefa4896bf58fe235a6ae17fcfc78c54ef8b4c53e0
parent6f6b32044e4aed9262f31ac30e18950036828ae8 (diff)
downloadsamba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.tar.gz
samba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.tar.bz2
samba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.zip
s3-waf: Check for KRB5_DEPRECATED handling
-rw-r--r--source3/wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 57e2852da4..3b0e36c1f5 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -192,6 +192,13 @@ if (0) {
conf.CHECK_HEADERS('krb5.h krb5/locate_plugin.h', lib='KRB5')
conf.CHECK_HEADERS('gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h', lib='KRB5')
+ # Check for KRB5_DEPRECATED handling
+ conf.CHECK_CODE('''#define KRB5_DEPRECATED 1
+#include <krb5.h>''',
+ 'HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER', addmain=False,
+ link=False,
+ msg="for KRB5_DEPRECATED define taking an identifier")
+
conf.CHECK_FUNCS('''
_acl __acl add_proplist_entry atexit attr_getf attr_list attr_listf
attropen attr_remove attr_removef attr_set attr_setf backtrace_symbols