comparison configure @ 29294:db9452d408e5

Add actually working support for PPC64
author reimar
date Mon, 01 Jun 2009 09:35:16 +0000
parents 52574cf56763
children ce8edb0e2897
comparison
equal deleted inserted replaced
29293:52574cf56763 29294:db9452d408e5
1379 host_arch=x86_64 1379 host_arch=x86_64
1380 else 1380 else
1381 host_arch=i386 1381 host_arch=i386
1382 fi 1382 fi
1383 ;; 1383 ;;
1384 macppc|ppc|ppc64) host_arch=ppc ;; 1384 macppc|ppc) host_arch=ppc ;;
1385 ppc64) host_arch=ppc64 ;;
1385 alpha) host_arch=alpha ;; 1386 alpha) host_arch=alpha ;;
1386 sparc) host_arch=sparc ;; 1387 sparc) host_arch=sparc ;;
1387 sparc64) host_arch=sparc64 ;; 1388 sparc64) host_arch=sparc64 ;;
1388 parisc*|hppa*|9000*) host_arch=hppa ;; 1389 parisc*|hppa*|9000*) host_arch=hppa ;;
1389 arm*|zaurus|cats) host_arch=arm ;; 1390 arm*|zaurus|cats) host_arch=arm ;;
2083 ;; 2084 ;;
2084 2085
2085 ppc|ppc64|powerpc|powerpc64) 2086 ppc|ppc64|powerpc|powerpc64)
2086 _arch='PPC' 2087 _arch='PPC'
2087 def_dcbzl='#define HAVE_DCBZL 0' 2088 def_dcbzl='#define HAVE_DCBZL 0'
2088 def_ppc64='#define HAVE_PPC64 0'
2089 _target_arch='ARCH_PPC = yes' 2089 _target_arch='ARCH_PPC = yes'
2090 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2090 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2091 iproc='ppc' 2091 iproc='ppc'
2092 2092
2093 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then 2093 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
2094 _arch='PPC PPC64'
2095 _target_subarch='ARCH_PPC64 = yes'
2094 def_fast_64bit='#define HAVE_FAST_64BIT 1' 2096 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2095 def_ppc64='#define HAVE_PPC64 1'
2096 fi 2097 fi
2097 echocheck "CPU type" 2098 echocheck "CPU type"
2098 case $system_name in 2099 case $system_name in
2099 Linux) 2100 Linux)
2100 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1) 2101 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1)
8816 $def_libavcodec_mpegaudio_hp 8817 $def_libavcodec_mpegaudio_hp
8817 $def_memalign_hack 8818 $def_memalign_hack
8818 $def_mlib 8819 $def_mlib
8819 $def_mkstemp 8820 $def_mkstemp
8820 $def_posix_memalign 8821 $def_posix_memalign
8821 $def_ppc64
8822 $def_pthreads 8822 $def_pthreads
8823 $def_ten_operands 8823 $def_ten_operands
8824 $def_threads 8824 $def_threads
8825 $def_xform_asm 8825 $def_xform_asm
8826 $def_yasm 8826 $def_yasm