# HG changeset patch # User diego # Date 1279018163 0 # Node ID 7303e238c5fa660c06cd10e3795973eda1eb1667 # Parent 7f16631c1de01aaf041e9c0e25bc706e06656c3b Add IBM ASM check for FFmpeg on PowerPC. diff -r 7f16631c1de0 -r 7303e238c5fa configure --- 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