On Wed, Jan 25, 2017 at 7:01 PM, Diego Biurrun <di...@biurrun.de> wrote:
> Newer versions of OS X use the blocks extension in VDA-related headers.
> ---
>  configure | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 1fc83f9..e59790c 100755
> --- a/configure
> +++ b/configure
> @@ -1673,6 +1673,7 @@ TOOLCHAIN_FEATURES="
>      asm_mod_q
>      attribute_may_alias
>      attribute_packed
> +    blocks_extension
>      ebp_available
>      ebx_available
>      gnu_as
> @@ -2171,7 +2172,7 @@ zmbv_encoder_deps="zlib"
>  d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder"
>  dxva2_deps="dxva2api_h DXVA2_ConfigPictureDecode"
>  dxva2_lib_deps="dxva2"
> -vda_deps="VideoDecodeAcceleration_VDADecoder_h pthreads"
> +vda_deps="VideoDecodeAcceleration_VDADecoder_h blocks_extension pthreads"
>  vda_frameworks="-framework CoreFoundation -framework VideoDecodeAcceleration 
> -framework QuartzCore"
>
>  h263_vaapi_hwaccel_deps="vaapi"
> @@ -4890,6 +4891,10 @@ check_disable_warning_headers -Wno-unused-variable
>
>  check_objcflags -fobjc-arc && enable objc_arc
>
> +check_cc <<EOF && enable blocks_extension
> +void (^block)(void);
> +EOF
> +
>  # add some linker flags
>  check_ldflags -Wl,--warn-common
>  check_ldflags 
> -Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
> --

ok of course
-- 
Vittorio
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to