On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,

use cpuinfo instead.
This allows MPlayer to get one step closer to building in 64 bits mode on Darwin,
if one passes --target=x86_64-darwin to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gpoirier 2008-11-15 20:37:08 +00:00
parent 7ecf9a6d04
commit 5dd1c3e739
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -1543,7 +1543,7 @@ elif test -r /compat/linux/proc/cpuinfo && ! x86_32 ; then
# FreeBSD with Linux emulation /proc mounted,
# extract CPU information from it
_cpuinfo="cat /compat/linux/proc/cpuinfo"
elif darwin && ! x86_32 ; then
elif darwin && ! x86 ; then
# use hostinfo on Darwin
_cpuinfo="hostinfo"
elif aix; then