提交 49214f61 编写于 作者: M Måns Rullgård

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
上级 2aa6e87a
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册