---
 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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to