diff options
author | Kai Blin <kai@samba.org> | 2010-04-05 14:40:10 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-20 22:16:13 +0200 |
commit | d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0 (patch) | |
tree | fa4896bf58fe235a6ae17fcfc78c54ef8b4c53e0 /source3/wscript | |
parent | 6f6b32044e4aed9262f31ac30e18950036828ae8 (diff) | |
download | samba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.tar.gz samba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.tar.bz2 samba-d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0.zip |
s3-waf: Check for KRB5_DEPRECATED handling
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 7 |
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 |