[MPlayer-dev-eng] [PATCH] set HAVE_FAST_64BIT

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Dec 23 10:13:23 CET 2008


Hello,
see attached patch. I just guessed where it is correct to set it and
where not...

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 28175)
+++ configure	(working copy)
@@ -1919,6 +1920,7 @@
   ia64)
     _arch='IA64'
     _target_arch='ARCH_IA64 = yes'
+    def_fast_64bit='#define HAVE_FAST_64BIT 1'
     iproc='ia64'
     ;;
 
@@ -1927,6 +1929,7 @@
     _target_arch='ARCH_X86_64 = yes'
     _target_arch_x86="ARCH_X86 = yes"
     _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+    def_fast_64bit='#define HAVE_FAST_64BIT 1'
     iproc='x86_64'
 
     # gcc >= 3.4.0  doesn't support -mcpu, we have to use -mtune instead
@@ -2011,6 +2014,7 @@
     if test "$host_arch" = "sparc64" ; then
       _vis='yes'
       proc='ultrasparc'
+      def_fast_64bit='#define HAVE_FAST_64BIT 1'
     elif sunos ; then
 	echocheck "CPU type"
 	karch=`uname -m`
@@ -2050,6 +2054,9 @@
     _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
     iproc='ppc'
 
+    if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
+      def_fast_64bit='#define HAVE_FAST_64BIT 1'
+    fi
     echocheck "CPU type"
     case $system_name in
       Linux)
@@ -8533,6 +8584,7 @@
 $_def_dcbzl
 $_def_extern_prefix
 $_def_fast_unaligned
+$def_fast_64bit
 $_def_mkstemp
 $_def_pthreads
 $_def_threads


More information about the MPlayer-dev-eng mailing list