Browse code

configure: return result of test from check_asm

This makes it possible to use check_asm in conditionals.

Originally committed as revision 20105 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2009/10/01 06:38:11
Showing 1 changed files
... ...
@@ -572,7 +572,8 @@ check_asm(){
572 572
     name="$1"
573 573
     asm="$2"
574 574
     shift 2
575
-    check_as "$@" <<EOF && enable $name || disable $name
575
+    disable $name
576
+    check_as "$@" <<EOF && enable $name
576 577
 void foo(void){ __asm__ volatile($asm); }
577 578
 EOF
578 579
 }