From 5c459408bd55cb3fcd50e9e597717f4b439a9219 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 10 Jan 2010 21:22:44 +0000 Subject: [PATCH] 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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