From 689646962ea4bfd83b37a898f5669be071d3e17d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 17 Feb 2014 12:51:38 +0100 Subject: stream_file: activate cache with files on network file systems Detected 'protocols' are AFP, nfs, smb and webdav. This can be extended on request. This is currently only implemented for BSD systems (using fstatfs). This addresses issue #558 on the above platforms. --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index de70718555..2292a44747 100644 --- a/wscript +++ b/wscript @@ -196,6 +196,11 @@ iconv support use --disable-iconv.", 'name': 'setmode', 'desc': 'setmode()', 'func': check_statement('io.h', 'setmode(0, 0)') + }, { + 'name': 'bsd-fstatfs', + 'desc': "BSD's fstatfs()", + 'func': check_statement(['sys/param.h', 'sys/mount.h'], + 'struct statfs fs; fstatfs(0, &fs)') }, { 'name': 'sys-sysinfo-h', 'desc': 'sys/sysinfo.h', -- cgit v1.2.3