summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-02-12 12:28:32 -0700
committerGünther Deschner <gd@samba.org>2019-02-13 17:58:33 +0100
commit3a793497796395ffa3efda5807bdb1ca8e09e35b (patch)
treef921a60a21618008bab20ef4af26c011660d46aa /source3/wscript
parent0c15c4b1db9ef12cc02683bbf24e0a2d10d1b991 (diff)
downloadsamba-3a793497796395ffa3efda5807bdb1ca8e09e35b.tar.gz
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
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 0cd7f40317a..e5d519d7fc8 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -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