1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

waf: Check for libnscd

The check was in the old autoconf, but not in waf. As the code is still
in source3/lib/util_nscd.c, add the check for libnscd to allow building
and using the code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13787

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Feb 13 17:58:33 CET 2019 on sn-devel-144
This commit is contained in:
Christof Schmitt 2019-02-12 12:28:32 -07:00 committed by Günther Deschner
parent 0c15c4b1db
commit 3a79349779
2 changed files with 4 additions and 0 deletions

View File

@ -1648,6 +1648,9 @@ main() {
conf.CHECK_HEADERS('rpc/xdr.h', lib='tirpc')
if conf.CHECK_FUNCS_IN('nscd_flush_cache', 'nscd', headers='libnscd.h'):
conf.DEFINE('HAVE_NSCD_FLUSH_CACHE', '1')
forced_static_modules.extend(TO_LIST('auth_builtin auth_sam auth_winbind'))
default_static_modules.extend(TO_LIST('''pdb_smbpasswd pdb_tdbsam
auth_unix

View File

@ -178,6 +178,7 @@ bld.SAMBA3_SUBSYSTEM('pdb',
LIBCLI_AUTH
flag_mapping
samba-credentials
nscd
''')
bld.SAMBA3_LIBRARY('smbldaphelper',