changeset 30228:522c5ef11d6a

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.
author reimar
date Sun, 10 Jan 2010 21:22:44 +0000
parents 052c823850f0
children 57c05b99c8a2
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 10 20:32:19 2010 +0000
+++ b/configure	Sun Jan 10 21:22:44 2010 +0000
@@ -1648,9 +1648,10 @@
 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