summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2014-03-11 15:27:50 -0400
committerwm4 <wm4@nowhere>2014-03-12 00:46:18 +0100
commitac4b9a47cef7a17e27fb034b787089cf07f6c3d4 (patch)
treee40c3a1ce5fc69648b706a1504e4ba714027b69d /wscript
parent14c1816c717b374d1309fd601ae52002d659e415 (diff)
downloadmpv-ac4b9a47cef7a17e27fb034b787089cf07f6c3d4.tar.bz2
mpv-ac4b9a47cef7a17e27fb034b787089cf07f6c3d4.tar.xz
stream_file: network file system detection for Linux
Addresses issue #558 on Linux systems. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 85c0083989..59b8734e22 100644
--- a/wscript
+++ b/wscript
@@ -202,6 +202,11 @@ iconv support use --disable-iconv.",
'func': check_statement(['sys/param.h', 'sys/mount.h'],
'struct statfs fs; fstatfs(0, &fs)')
}, {
+ 'name': 'linux-fstatfs',
+ 'desc': "Linux's fstatfs()",
+ 'func': check_statement('sys/vfs.h',
+ 'struct statfs fs; fstatfs(0, &fs); fs.f_namelen')
+ }, {
'name': 'sys-sysinfo-h',
'desc': 'sys/sysinfo.h',
'func': check_statement('sys/sysinfo.h',