From fbbe321d19d0774bf141eddf6dea86e8ae2cf64a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 1 Feb 2011 19:22:04 +0100 Subject: s3-waf: fix the build after linux netlink changes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Volker, please check. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Feb 1 23:21:50 CET 2011 on sn-devel-104 --- source3/wscript | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 89ee79fe70..61e00aadac 100644 --- a/source3/wscript +++ b/source3/wscript @@ -946,6 +946,20 @@ int i; i = PAM_RADIO_TYPE; if conf.CONFIG_SET('HAVE_VALGRIND_H') or conf.CONFIG_SET('HAVE_VALGRIND_VALGRIND_H'): conf.DEFINE('VALGRIND', '1') + if conf.CHECK_CODE(''' +#include +#include +''', + 'HAVE_LINUX_NETLINK_H', + msg="Checking whether Linux netlink is available"): + conf.CHECK_CODE(''' +#include +#include +#include +''', + 'HAVE_LINUX_RTNETLINK_H', + msg='Checking whether Linux rtnetlink is available') + conf.SAMBA_CONFIG_H('include/config.h') def ctags(ctx): -- cgit