[MPlayer-cvslog] r31728 - trunk/configure

diego subversion at mplayerhq.hu
Tue Jul 13 12:49:24 CEST 2010


Author: diego
Date: Tue Jul 13 12:49:23 2010
New Revision: 31728

Log:
Add IBM ASM check for FFmpeg on PowerPC.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jul 12 23:38:39 2010	(r31727)
+++ trunk/configure	Tue Jul 13 12:49:23 2010	(r31728)
@@ -2786,6 +2786,15 @@ int main(void) { __asm__ volatile ("lwzx
 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_exp2f
 $def_fast_64bit
 $def_fast_unaligned
 $def_hardcoded_tables
+$def_ibm_asm
 $def_libavcodec_mpegaudio_hp
 $def_llrint
 $def_llrintf


More information about the MPlayer-cvslog mailing list