1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00

Do not use FreeBSD's cpuinfo file on x86_64 either, as on x86_32 it will not

report 3Dnow availability.
Patch from FreeBSD ports.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30270 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-10 21:22:44 +00:00
parent 4ecd4741e6
commit 5c459408bd

3
configure vendored
View File

@ -1648,9 +1648,10 @@ if test "$_runtime_cpudetection" = no ; then
if test -r /proc/cpuinfo && ! cygwin; then
# Linux with /proc mounted, extract CPU information from it
_cpuinfo="cat /proc/cpuinfo"
elif test -r /compat/linux/proc/cpuinfo && ! x86_32 ; then
elif test -r /compat/linux/proc/cpuinfo && ! x86 ; then
# FreeBSD with Linux emulation /proc mounted,
# extract CPU information from it
# Don't use it on x86 though, it never reports 3Dnow
_cpuinfo="cat /compat/linux/proc/cpuinfo"
elif darwin && ! x86 ; then
# use hostinfo on Darwin