mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Prefer TOOLS/cpuinfo over /proc/cpuinfo on Cygwin, approved by Sascha.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11113 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7372d6fd51
commit
182457df34
4
configure
vendored
4
configure
vendored
@ -566,7 +566,9 @@ fi
|
||||
|
||||
# XXX: this should be ok..
|
||||
_cpuinfo="echo"
|
||||
if test -r /proc/cpuinfo ; then
|
||||
# Cygwin has /proc/cpuinfo, but only supports Intel CPUs
|
||||
# FIXME: Remove the cygwin check once AMD CPUs are supported
|
||||
if test -r /proc/cpuinfo && not cygwin; then
|
||||
# Linux with /proc mounted, extract CPU information from it
|
||||
_cpuinfo="cat /proc/cpuinfo"
|
||||
elif test -r /compat/linux/proc/cpuinfo ; then
|
||||
|
Loading…
Reference in New Issue
Block a user