summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-09-30 21:38:11 +0000
committerMåns Rullgård <mans@mansr.com>2009-09-30 21:38:11 +0000
commit49214f61a5071a3e5f12c3d13f13a3d8cfdbb5bb (patch)
treec81ed0b5a319983cd6b4f325593e906aefaf133d /configure
parent2aa6e87a9714c2275203b531dc51c74addecc66c (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 94ceb533f2..1c05d71ac1 100755
--- a/configure
+++ b/configure
@@ -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
}