[FFmpeg-devel] [PATCH] configure: don't let check_inline_asm override explicitly-disabled options

Rodger Combs rodger.combs at gmail.com
Tue Nov 10 17:41:42 CET 2015


This also prevents check_inline_asm from explicitly disabling failed tests,
since otherwise you couldn't chain multiple tests with ||.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index f770534..8361b33 100755
--- a/configure
+++ b/configure
@@ -900,7 +900,7 @@ check_inline_asm(){
     name="$1"
     code="$2"
     shift 2
-    disable $name
+    disabled $name && return 1
     check_cc "$@" <<EOF && enable $name
 void foo(void){ __asm__ volatile($code); }
 EOF
-- 
2.6.2



More information about the ffmpeg-devel mailing list