diff options
author | wm4 <wm4@nowhere> | 2014-05-30 13:30:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-30 13:30:56 +0200 |
commit | 3053a68d2dffe79106e9515f5978de3e184f2594 (patch) | |
tree | 481643f98eb4abb0d8e4eea41675611d89da61aa /old-configure | |
parent | 8ba346a5541294cb17b0e0e53306dd96c985eab4 (diff) | |
download | mpv-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 'old-configure')
-rwxr-xr-x | old-configure | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/old-configure b/old-configure index b160881871..6a8d9533aa 100755 --- a/old-configure +++ b/old-configure @@ -545,9 +545,6 @@ check_statement_libs "shm" $_shm SHM "sys/types.h sys/ipc.h sys/shm.h" \ check_trivial "audio select()" $_select AUDIO_SELECT -check_statement_libs "sys/sysinfo.h" auto SYS_SYSINFO_H \ - sys/sysinfo.h 'struct sysinfo s_info; s_info.mem_unit=0; sysinfo(&s_info)' - echocheck "pkg-config" if $($_pkg_config --version > /dev/null 2>&1); then if test "$_ld_static"; then |