[MPlayer-cvslog] r29199 - trunk/configure
diego
subversion at mplayerhq.hu
Mon Apr 20 02:10:10 CEST 2009
Author: diego
Date: Mon Apr 20 02:10:09 2009
New Revision: 29199
Log:
Add check for XFORM ASM, needed by FFmpeg/PPC.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Apr 20 00:27:02 2009 (r29198)
+++ trunk/configure Mon Apr 20 02:10:09 2009 (r29199)
@@ -2611,6 +2611,17 @@ EOF
test "$_altivec" = yes && CFLAGS="$CFLAGS $_altivec_gcc_flags"
fi
+if ppc ; then
+def_xform_asm='#define HAVE_XFORM_ASM 0'
+xform_asm=no
+echocheck "XFORM ASM support"
+ cat > $TMPC << EOF
+int main(void) { __asm__ volatile ("lwzx 0, %y0" :: "Z"(*(int*)0)"); return 0; }
+EOF
+cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1'
+echores "$xform_asm"
+fi
+
if arm ; then
echocheck "ARM pld instruction"
cat > $TMPC << EOF
@@ -8787,6 +8798,7 @@ $def_posix_memalign
$def_pthreads
$def_ten_operands
$def_threads
+$def_xform_asm
$def_yasm
#define CONFIG_FASTDIV 0
More information about the MPlayer-cvslog
mailing list