diff options
author | James Almer <jamrial@gmail.com> | 2018-03-17 15:00:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-03-17 15:00:40 -0300 |
commit | 40e32f83c6a2085093b61e959f34a106fa2dad6b (patch) | |
tree | f4005bd454483ef7e8b822072959d90693b9c420 | |
parent | 32dbee4462a06a7c82fd1719d044dde2e9b013e7 (diff) | |
parent | a5e011c8dcbf6968cc60f883d33382ba46147e90 (diff) | |
download | ffmpeg-40e32f83c6a2085093b61e959f34a106fa2dad6b.tar.gz |
Merge commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90'
* commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90':
configure: Add check_cmd() helper function to simplify some expressions
Merged-by: James Almer <jamrial@gmail.com>
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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" |