aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-20 13:14:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-20 13:14:33 +0100
commit9d60527a1315772f1d532d662a3aa607e62bb917 (patch)
tree1bec8ce91107198e2099b2ef40cda5271a7ab853 /configure
parent3d04b1aab140ba64ab0f437ab522c03ea6efca06 (diff)
downloadffmpeg-9d60527a1315772f1d532d662a3aa607e62bb917.tar.gz
configure: fix direct symbol ref support detection
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index f744e4c897..41e64512c0 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"'