Browse Source

Merge commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90'

* commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90':
  configure: Add check_cmd() helper function to simplify some expressions

Merged-by: James Almer <jamrial@gmail.com>
tags/n4.0
James Almer 7 years ago
parent
commit
40e32f83c6
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      configure

+ 8
- 0
configure View File

@@ -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"


Loading…
Cancel
Save