summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-30 13:30:56 +0200
committerwm4 <wm4@nowhere>2014-06-14 14:07:23 +0200
commitd52c491fec6cc27e54cd94f3fe5aa5f0c5888612 (patch)
treea126fceebc217f7f8db0c28342c111303d43ffe6 /wscript
parentff2e39a3d28ce4f08a4683577844cd0f2f6c7fb2 (diff)
downloadmpv-d52c491fec6cc27e54cd94f3fe5aa5f0c5888612.tar.bz2
mpv-d52c491fec6cc27e54cd94f3fe5aa5f0c5888612.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. old-configure changes skipped when cherry-picking for stable. Conflicts: old-configure
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 0 insertions, 5 deletions
diff --git a/wscript b/wscript
index c7af0d3525..c99d72a3e5 100644
--- a/wscript
+++ b/wscript
@@ -188,11 +188,6 @@ iconv support use --disable-iconv.",
'desc': 'setmode()',
'func': check_statement('io.h', 'setmode(0, 0)')
}, {
- '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'),