diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-04 09:38:10 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-04 09:38:10 +0000 |
commit | 677ce98c852369c6b1c1aa6f4928c1713c7351cb (patch) | |
tree | 2fab0323a9ba99c3797f57164170f90e6534c71a /configure | |
parent | 6685ee530bcfff8544e3d9221fe1791f1282556f (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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' |