Commit 40e32f83 authored by James Almer's avatar James Almer

Merge commit 'a5e011c8'

* commit 'a5e011c8':
  configure: Add check_cmd() helper function to simplify some expressions
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 32dbee44 a5e011c8
......@@ -967,6 +967,14 @@ test_as(){
test_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS
}
check_cmd(){
log check_cmd "$@"
cmd=$1
disabled $cmd && return
disable $cmd
test_cmd $@ && enable $cmd
}
check_inline_asm(){
log check_inline_asm "$@"
name="$1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment