changeset 31662:7303e238c5fa

Add IBM ASM check for FFmpeg on PowerPC.
author diego
date Tue, 13 Jul 2010 10:49:23 +0000
parents 7f16631c1de0
children ee4a3866f6f9
files configure
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jul 12 21:38:39 2010 +0000
+++ b/configure	Tue Jul 13 10:49:23 2010 +0000
@@ -2786,6 +2786,15 @@
 EOF
 cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1'
 echores "$xform_asm"
+
+def_ibm_asm='#define HAVE_IBM_ASM 0'
+ibm_asm=no
+echocheck "IBM ASM support"
+cat > $TMPC << EOF
+int main(void) { __asm__ volatile ("add 0, 0, 0"); return 0; }
+EOF
+cc_check && ibm_asm=yes && def_ibm_asm='#define HAVE_IBM_ASM 1'
+echores "$ibm_asm"
 fi
 
 if arm ; then
@@ -9218,6 +9227,7 @@
 $def_fast_64bit
 $def_fast_unaligned
 $def_hardcoded_tables
+$def_ibm_asm
 $def_libavcodec_mpegaudio_hp
 $def_llrint
 $def_llrintf