From: Günther Deschner Date: Wed, 16 Feb 2011 17:38:19 +0000 (+0100) Subject: s3-waf: add check for __NR_inotify_init declaration. X-Git-Tag: tevent-0.9.11~571 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d3f9569252cc329cd95b405768a93c4c19c4b4e;p=thirdparty%2Fsamba.git s3-waf: add check for __NR_inotify_init declaration. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104 --- diff --git a/source3/wscript b/source3/wscript index 59f0a1d5e4e..df82cc6a23c 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1085,6 +1085,8 @@ ssize_t err = posix_fadvise(0,0,0x80000,POSIX_FADV_WILLNEED); 'SYSCONF%s' % v, msg='Checking whether sysconf(%s) is available' % v) + conf.CHECK_DECLS('__NR_inotify_init', reverse=True, headers='asm/unistd.h') + default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin vfs_default