ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Sat Mar 17 15:00:40 2018 -0300| [40e32f83c6a2085093b61e959f34a106fa2dad6b] | committer: James Almer
Merge commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90' * commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90': configure: Add check_cmd() helper function to simplify some expressions Merged-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40e32f83c6a2085093b61e959f34a106fa2dad6b --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 0c5ed07a07..140825ab12 100755 --- a/configure +++ b/configure @@ -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" ====================================================================== _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog