[MPlayer-cvslog] r23863 - in trunk: Changelog configure

gpoirier subversion at mplayerhq.hu
Thu Jul 26 10:21:42 CEST 2007


Author: gpoirier
Date: Thu Jul 26 10:21:42 2007
New Revision: 23863

Log:
add Hitachi SuperH (SH3) support
patch by Alex Ferguson %b_linuz A yahoo P com%


Modified:
   trunk/Changelog
   trunk/configure

Modified: trunk/Changelog
==============================================================================
--- trunk/Changelog	(original)
+++ trunk/Changelog	Thu Jul 26 10:21:42 2007
@@ -81,6 +81,7 @@ MPlayer (1.0)
 
     Ports:
     * further Intel Mac fixes
+    * Hitachi SuperH (SH3) support
 
     Drivers:
     * ALSA audio output now sets the non-audio bit for AC3 passthrough even

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Jul 26 10:21:42 2007
@@ -158,6 +158,13 @@ arm() {
   esac
 }
 
+sh3() {
+  case "$host_arch" in
+    sh3) return 0;;
+    *) return 1;;
+  esac
+}
+
 # not boolean test: implement the posix shell "!" operator for a
 # non-posix /bin/sh.
 #   usage:  not {command}
@@ -1192,7 +1199,7 @@ if test -z "$_target" ; then
   # host's CPU/instruction set
    host_arch=`uname -p 2>&1`
    case "$host_arch" in
-   i386|sparc|ppc|alpha|arm|mips|vax)
+   i386|sparc|ppc|alpha|arm|sh3|mips|vax)
      ;;
    powerpc) # Darwin returns 'powerpc'
      host_arch=ppc
@@ -1221,6 +1228,7 @@ if test -z "$_target" ; then
       sparc64) host_arch=sparc64 ;;
       parisc*|hppa*|9000*) host_arch=hppa ;;
       arm*|zaurus|cats) host_arch=arm ;;
+      sh3) host_arch=sh3 ;;
       s390) host_arch=s390 ;;
       s390x) host_arch=s390x ;;
       mips*) host_arch=mips ;;
@@ -1593,7 +1601,7 @@ EOF
 fi
 
 
-_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX GENERIC'
+_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH3 POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX GENERIC'
 case "$host_arch" in
   i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
   _arch='X86 X86_32'
@@ -1966,6 +1974,16 @@ EOF
     _optimizing=''
     ;;
 
+  sh3)
+    _arch='SH3'
+    _target_arch='ARCH_SH3 = yes'
+    iproc='sh3'
+    proc=''
+    _march='-m3'
+    _mcpu='-ml'
+    _optimizing=''
+    ;;
+
   ppc|powerpc)
     _arch='POWERPC PPC'
     _def_dcbzl='#define NO_DCBZL 1'



More information about the MPlayer-cvslog mailing list