diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-09-06 11:29:23 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-09-08 18:55:19 +0200 |
commit | b6dce64a8ea5e98ce09916a056a7ac51316c9bce (patch) | |
tree | d93638a7819069084c29d775c7a30c26bac85933 | |
parent | f8519529cfed6453bc7cc7634660021d539049a0 (diff) | |
download | ffmpeg-b6dce64a8ea5e98ce09916a056a7ac51316c9bce.tar.gz |
build: add check_apple_framework()
This will be used in the following commits.
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1121,6 +1121,15 @@ check_header_objcc(){ } | check_objcc && check_stat "$TMPO" && enable_safe $header } +check_apple_framework(){ + log check_apple_framework "$@" + framework="$1" + name="$(tolower $framework)" + header="${framework}/${framework}.h" + disable $name + check_header_objcc $header && enable $name && add_extralibs "-framework $framework" +} + check_func(){ log check_func "$@" func=$1 |