On 20/01/16 06:27, Vittorio Giovara wrote:
> ---
> Alternatively we could make configure fail. Opinions?
> Vittorio
> 
>  configure | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 2d0573a..b7658fe 100755
> --- a/configure
> +++ b/configure
> @@ -2430,7 +2430,7 @@ enable swscale_alpha
>  enable valgrind_backtrace
>  
>  # By default, enable only those hwaccels that have no external dependencies.
> -enable d3d11va dxva2 vda vdpau
> +enable d3d11va dxva2 vdpau
>  
>  # build settings
>  SHFLAGS='-shared -Wl,-soname,$$(@F)'
> @@ -4447,6 +4447,13 @@ disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion 
> -lbz2 || disable bzlib
>  
>  check_lib math.h sin -lm && LIBM="-lm"
>  enabled vaapi && require vaapi va/va.h vaInitialize -lva
> +check_cc <<EOF && enable_weak vda
> +#include <VideoDecodeAcceleration/VDADecoder.h>
> +int main(void) {
> +    CVPixelBufferRelease(NULL);
> +    return 0;
> +}
> +EOF

I'd use check_libs2 maybe?

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to