comparison configure @ 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
comparison
equal deleted inserted replaced
30227:052c823850f0 30228:522c5ef11d6a
1646 # Cygwin has /proc/cpuinfo, but only supports Intel CPUs 1646 # Cygwin has /proc/cpuinfo, but only supports Intel CPUs
1647 # FIXME: Remove the cygwin check once AMD CPUs are supported 1647 # FIXME: Remove the cygwin check once AMD CPUs are supported
1648 if test -r /proc/cpuinfo && ! cygwin; then 1648 if test -r /proc/cpuinfo && ! cygwin; then
1649 # Linux with /proc mounted, extract CPU information from it 1649 # Linux with /proc mounted, extract CPU information from it
1650 _cpuinfo="cat /proc/cpuinfo" 1650 _cpuinfo="cat /proc/cpuinfo"
1651 elif test -r /compat/linux/proc/cpuinfo && ! x86_32 ; then 1651 elif test -r /compat/linux/proc/cpuinfo && ! x86 ; then
1652 # FreeBSD with Linux emulation /proc mounted, 1652 # FreeBSD with Linux emulation /proc mounted,
1653 # extract CPU information from it 1653 # extract CPU information from it
1654 # Don't use it on x86 though, it never reports 3Dnow
1654 _cpuinfo="cat /compat/linux/proc/cpuinfo" 1655 _cpuinfo="cat /compat/linux/proc/cpuinfo"
1655 elif darwin && ! x86 ; then 1656 elif darwin && ! x86 ; then
1656 # use hostinfo on Darwin 1657 # use hostinfo on Darwin
1657 _cpuinfo="hostinfo" 1658 _cpuinfo="hostinfo"
1658 elif aix; then 1659 elif aix; then