build: check xattr and frsize
authorAndrew Tridgell <tridge@samba.org>
Sun, 7 Mar 2010 05:05:19 +0000 (16:05 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:43 +0000 (20:26 +1000)
lib/util/wscript_configure

index 868124016ced34e8756646a91f754e79c8567e38..0b2949cd83db81fe9a3b1342a2095a32bc706cf9 100644 (file)
@@ -5,3 +5,8 @@ conf.CHECK_HEADERS('execinfo.h')
 conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True)
 
 conf.CHECK_FUNCS('sigprocmask sigblock sigaction')
+
+conf.CHECK_HEADERS('sys/attributes.h attr/xattr.h sys/xattr.h')
+conf.CHECK_FUNCS_IN('flistxattr', 'attr', checklibc=True)
+
+conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE')