[FFmpeg-cvslog] configure: fix direct symbol ref support detection

Michael Niedermayer git at videolan.org
Thu Mar 20 13:24:05 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 20 13:14:33 2014 +0100| [9d60527a1315772f1d532d662a3aa607e62bb917] | committer: Michael Niedermayer

configure: fix direct symbol ref support detection

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d60527a1315772f1d532d662a3aa607e62bb917
---

 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index f744e4c..41e6451 100755
--- a/configure
+++ b/configure
@@ -4309,7 +4309,8 @@ EOF
     # check whether xmm clobbers are supported
     check_inline_asm xmm_clobbers '"":::"%xmm0"'
 
-    check_inline_asm inline_asm_direct_symbol_refs '"movl test, %eax"'
+    check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test, %eax"' ||
+        check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"'
 
     # check whether binutils is new enough to compile SSSE3/MMXEXT
     enabled ssse3  && check_inline_asm ssse3_inline  '"pabsw %xmm0, %xmm0"'



More information about the ffmpeg-cvslog mailing list