From 677ce98c852369c6b1c1aa6f4928c1713c7351cb Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 4 Oct 2008 09:38:10 +0000 Subject: 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 --- configure | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d21e34b2ef..e418f95303 100755 --- a/configure +++ b/configure @@ -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' -- cgit v1.2.3