[FFmpeg-cvslog] r20101 - trunk/configure

Reimar Döffinger Reimar.Doeffinger
Wed Sep 30 19:36:35 CEST 2009


On Wed, Sep 30, 2009 at 06:55:32PM +0200, reimar wrote:
> Author: reimar
> Date: Wed Sep 30 18:55:32 2009
> New Revision: 20101
> 
> Log:
> Use a "b" constraint instead of ebx clobber to detect if EBX is available.
> The test using clobber incorrectly indicates ebx to be available with the
> default compilers on OpenBSD 4.5 and Haiku.

Great, now I broken OSX 64 bit.
This change makes them work both (and no, my original variant with =b
does not work either for OSX).
I'm not sure if it has something to do with -mdynamic-no-pic, but it all
doesn't make much sense.
Index: configure
===================================================================
--- configure   (revision 20101)
+++ configure   (working copy)
@@ -2163,6 +2163,7 @@
 
     # check whether EBX is available on x86
     check_asm ebx_available '""::"b"(0)'
+    enabled ebx_available && check_asm ebx_available '"":::"%ebx"'
 
     # check whether more than 10 operands are supported
     check_cc <<EOF && enable ten_operands



More information about the ffmpeg-cvslog mailing list