comparison configure @ 29258:0581e24d2f2d

Add HAVE_PPC64 definition for FFmpeg.
author diego
date Tue, 12 May 2009 07:25:04 +0000
parents c5e9e5f0b480
children 7d545a6b8aff
comparison
equal deleted inserted replaced
29257:c5e9e5f0b480 29258:0581e24d2f2d
2083 ;; 2083 ;;
2084 2084
2085 ppc|ppc64|powerpc|powerpc64) 2085 ppc|ppc64|powerpc|powerpc64)
2086 _arch='PPC' 2086 _arch='PPC'
2087 def_dcbzl='#define HAVE_DCBZL 0' 2087 def_dcbzl='#define HAVE_DCBZL 0'
2088 def_ppc64='#define HAVE_PPC64 0'
2088 _target_arch='ARCH_PPC = yes' 2089 _target_arch='ARCH_PPC = yes'
2089 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2090 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2090 iproc='ppc' 2091 iproc='ppc'
2091 2092
2092 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then 2093 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
2093 def_fast_64bit='#define HAVE_FAST_64BIT 1' 2094 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2095 def_ppc64='#define HAVE_PPC64 1'
2094 fi 2096 fi
2095 echocheck "CPU type" 2097 echocheck "CPU type"
2096 case $system_name in 2098 case $system_name in
2097 Linux) 2099 Linux)
2098 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1) 2100 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1)
8813 $def_libavcodec_mpegaudio_hp 8815 $def_libavcodec_mpegaudio_hp
8814 $def_memalign_hack 8816 $def_memalign_hack
8815 $def_mlib 8817 $def_mlib
8816 $def_mkstemp 8818 $def_mkstemp
8817 $def_posix_memalign 8819 $def_posix_memalign
8820 $def_ppc64
8818 $def_pthreads 8821 $def_pthreads
8819 $def_ten_operands 8822 $def_ten_operands
8820 $def_threads 8823 $def_threads
8821 $def_xform_asm 8824 $def_xform_asm
8822 $def_yasm 8825 $def_yasm