summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-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