[MPlayer-cvslog] r28534 - trunk/configure

diego subversion at mplayerhq.hu
Thu Feb 12 00:11:06 CET 2009


Author: diego
Date: Thu Feb 12 00:11:06 2009
New Revision: 28534

Log:
Port check for 10 assembler operands support from FFmpeg.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Feb 11 22:34:44 2009	(r28533)
+++ trunk/configure	Thu Feb 12 00:11:06 2009	(r28534)
@@ -2471,6 +2471,22 @@ fi
 echores $_asmalign_pot
 
 if x86 ; then
+echocheck "10 assembler operands"
+ten_operands=no
+def_ten_operands='#define HAVE_TEN_OPERANDS 0'
+cat > $TMPC << EOF
+int main(void) {
+    int x=0;
+    __asm__ volatile(
+        ""
+        :"+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x)
+    );
+    return 0;
+}
+EOF
+cc_check && ten_operands=yes && def_ten_operands='#define HAVE_TEN_OPERANDS 1'
+echores $ten_operands
+
 echocheck "yasm"
 if test -z "$YASMFLAGS" ; then
   if darwin ; then
@@ -8640,6 +8656,7 @@ $def_mlib
 $def_mkstemp
 $def_posix_memalign
 $def_pthreads
+$def_ten_operands
 $def_threads
 $def_yasm
 



More information about the MPlayer-cvslog mailing list