1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

Merge SPARC and SPARC64 sections in the CPU detection code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-10-04 09:38:10 +00:00
parent 6685ee530b
commit 677ce98c85

17
configure vendored
View File

@ -1972,11 +1972,14 @@ EOF
echores "$proc"
;;
sparc)
sparc|sparc64)
_arch='SPARC'
_target_arch='ARCH_SPARC = yes'
iproc='sparc'
if sunos ; then
if test "$host_arch" = "sparc64" ; then
_vis='yes'
proc='ultrasparc'
elif sunos ; then
echocheck "CPU type"
karch=`uname -m`
case "`echo $karch`" in
@ -1996,16 +1999,6 @@ EOF
_optimizing="$proc"
;;
sparc64)
_arch='SPARC'
_target_arch='ARCH_SPARC = yes'
_vis='yes'
iproc='sparc'
proc='ultrasparc'
_mcpu="-mcpu=$proc"
_optimizing="$proc"
;;
arm|armv4l|armv5tel)
_arch='ARM ARMV4L'
_target_arch='ARCH_ARMV4L = yes'