summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-08 00:06:53 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:46 +1000
commitaaa4c4b083a2cdb1e2656f444ae88893e80c6887 (patch)
tree885e29009046cfa2a776d38062cafb7477a9a74e /lib
parentfdd2f416ebd3f9d6150970ccfb3153e6809ff9de (diff)
downloadsamba-aaa4c4b083a2cdb1e2656f444ae88893e80c6887.tar.gz
samba-aaa4c4b083a2cdb1e2656f444ae88893e80c6887.tar.bz2
samba-aaa4c4b083a2cdb1e2656f444ae88893e80c6887.zip
build: added statvfs64 test
Diffstat (limited to 'lib')
-rw-r--r--lib/util/wscript_configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
index c25ce78eb3..44c73dac7a 100644
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -17,3 +17,12 @@ conf.CHECK_CODE('getxattr(NULL, NULL, NULL, 0, 0, 0)',
if conf.CONFIG_SET('HAVE_FLISTXATTR'):
conf.DEFINE('HAVE_XATTR_SUPPORT', 1)
+conf.CHECK_HEADERS('sys/statvfs.h')
+
+conf.CHECK_CODE('struct statvfs64 fsd; exit(statvfs64 (".", &fsd))',
+ define='STAT_STATVFS64',
+ headers='unistd.h sys/types.h sys/statvfs.h',
+ local_include=False)
+
+
+