1
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:
diego 2003-10-14 12:14:48 +00:00
parent 7372d6fd51
commit 182457df34

4
configure vendored
View File

@ -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