summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-30 13:30:56 +0200
committerwm4 <wm4@nowhere>2014-05-30 13:30:56 +0200
commit3053a68d2dffe79106e9515f5978de3e184f2594 (patch)
tree481643f98eb4abb0d8e4eea41675611d89da61aa /wscript
parent8ba346a5541294cb17b0e0e53306dd96c985eab4 (diff)
downloadmpv-3053a68d2dffe79106e9515f5978de3e184f2594.tar.bz2
mpv-3053a68d2dffe79106e9515f5978de3e184f2594.tar.xz
tv: remove sysinfo() usage
This call was used limited the buffer size if installed RAM was below 16 MB. This stopped being useful a decade ago. The check could also overflow on 32 bit systems. Just get rid of it.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 0 insertions, 5 deletions
diff --git a/wscript b/wscript
index faa45aa26e..36f3206e18 100644
--- a/wscript
+++ b/wscript
@@ -209,11 +209,6 @@ iconv support use --disable-iconv.",
'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',
- 'struct sysinfo s_info; s_info.mem_unit=0; sysinfo(&s_info)')
- }, {
'name': '--libguess',
'desc': 'libguess support',
'func': check_pkg_config('libguess', '>= 1.0'),