From 168db8b9d29ebf7e59377204ea0886b7ff281f27 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 17 Dec 2013 15:32:01 +0100 Subject: waf: Fix the FreeBSD build with libinotify Signed-off-by: Volker Lendecke Pair-Programmed-With: Stefan Metzmacher Reviewed-by: Stefan Metzmacher Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Mon Jan 6 19:50:22 CET 2014 on sn-devel-104 --- lib/replace/wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/replace') diff --git a/lib/replace/wscript b/lib/replace/wscript index b6fb10b9b0..a316032efe 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -91,7 +91,11 @@ struct foo bar = { .y = 'X', .x = 1 }; conf.CHECK_HEADERS('windows.h winsock2.h ws2tcpip.h') conf.CHECK_HEADERS('errno.h') conf.CHECK_HEADERS('gcrypt.h getopt.h iconv.h') - conf.CHECK_HEADERS('sys/inotify.h memory.h nss.h sasl/sasl.h') + conf.CHECK_HEADERS('memory.h nss.h sasl/sasl.h') + + conf.CHECK_FUNCS_IN('inotify_init', 'inotify', checklibc=True, + headers='sys/inotify.h') + conf.CHECK_HEADERS('security/pam_appl.h zlib.h asm/unistd.h') conf.CHECK_HEADERS('aio.h sys/unistd.h rpc/rpc.h rpc/nettype.h alloca.h float.h') -- cgit