summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 21:22:44 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 21:22:44 +0000
commit5c459408bd55cb3fcd50e9e597717f4b439a9219 (patch)
treeaf60db51edeb0ca4587a7616a26a2e409d555764
parent4ecd4741e61e4ba6e9c1a0659a7978c498cc0d5a (diff)
downloadmpv-5c459408bd55cb3fcd50e9e597717f4b439a9219.tar.bz2
mpv-5c459408bd55cb3fcd50e9e597717f4b439a9219.tar.xz
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
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 0a4bfd2487..aea70b86b7 100755
--- a/configure
+++ b/configure
@@ -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