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

Rodger Combs rodger.combs at gmail.com
Tue Nov 10 15:54:11 CET 2015


---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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



More information about the ffmpeg-devel mailing list