summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/replace/wscript2
-rw-r--r--source3/wscript7
2 files changed, 1 insertions, 8 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index ff41ce67c4..4bafcadbd4 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -35,7 +35,7 @@ def configure(conf):
conf.CHECK_HEADERS('crypt.h locale.h acl/libacl.h compat.h')
conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
- conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h langinfo.h')
+ conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h')
conf.CHECK_HEADERS('shadow.h sys/acl.h')
conf.CHECK_HEADERS('sys/attributes.h sys/capability.h sys/dir.h sys/epoll.h')
diff --git a/source3/wscript b/source3/wscript
index c3652fd48d..2275f88f1d 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -352,13 +352,6 @@ updwtmp updwtmpx utimensat vsyslog _write __write __xstat
if conf.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
conf.env['WINBIND_KRB5_LOCATOR'] = 'bin/winbind_krb5_locator.so'
- # 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="Checking for KRB5_DEPRECATED define taking an identifier")
-
conf.CHECK_FUNCS_IN('_et_list', 'com_err')
conf.CHECK_FUNCS_IN('krb5_encrypt_data', 'k5crypto')
conf.CHECK_FUNCS_IN('crypto', 'des_set_key')