configure: Skip check for inline assembly capabilities when explicitly disabled
[ffmpeg.git] / configure
index 366520c..d9609fc 100755 (executable)
--- a/configure
+++ b/configure
@@ -4251,7 +4251,7 @@ EOF
 sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
 extern_prefix=${sym%%ff_extern*}
 
-check_inline_asm inline_asm '"" ::'
+! disabled inline_asm && check_inline_asm inline_asm '"" ::'
 
 _restrict=
 for restrict_keyword in restrict __restrict__ __restrict; do