[FFmpeg-cvslog] r20105 - trunk/configure

mru subversion
Wed Sep 30 23:38:11 CEST 2009


Author: mru
Date: Wed Sep 30 23:38:11 2009
New Revision: 20105

Log:
configure: return result of test from check_asm

This makes it possible to use check_asm in conditionals.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Sep 30 23:23:47 2009	(r20104)
+++ trunk/configure	Wed Sep 30 23:38:11 2009	(r20105)
@@ -572,7 +572,8 @@ check_asm(){
     name="$1"
     asm="$2"
     shift 2
-    check_as "$@" <<EOF && enable $name || disable $name
+    disable $name
+    check_as "$@" <<EOF && enable $name
 void foo(void){ __asm__ volatile($asm); }
 EOF
 }



More information about the ffmpeg-cvslog mailing list