mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
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
This commit is contained in:
parent
2aa6e87a97
commit
49214f61a5
3
configure
vendored
3
configure
vendored
@ -572,7 +572,8 @@ check_asm(){
|
|||||||
name="$1"
|
name="$1"
|
||||||
asm="$2"
|
asm="$2"
|
||||||
shift 2
|
shift 2
|
||||||
check_as "$@" <<EOF && enable $name || disable $name
|
disable $name
|
||||||
|
check_as "$@" <<EOF && enable $name
|
||||||
void foo(void){ __asm__ volatile($asm); }
|
void foo(void){ __asm__ volatile($asm); }
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user