On Fri, Jul 15, 2016 at 01:43:14PM +0300, Martin Storsjö wrote:
> --- a/configure
> +++ b/configure
> @@ -4565,9 +4566,12 @@ for func in $MATH_FUNCS; do
>  
> +# This needs to be evaluated here instead of via the generic mechanism
> +# (setting dyn_lib_open_deps_any) since we want it set here
> +enabled_any dlopen LoadLibrary && enable dyn_lib_open || disable dyn_lib_open

I'm not convinced this is necessary or better than adding dyn_libs_open
to avisynth_demuxer_deps.

>  # these are off by default, so fail if requested and not available
> -enabled avisynth          && { check_lib2 "avisynth/avisynth_c.h windows.h" 
> LoadLibrary ||
> -                               check_lib2 "avxsynth/avxsynth_c.h dlfcn.h" 
> dlopen -ldl   ||
> +enabled avisynth          && { { check_header "avisynth/avisynth_c.h" && 
> enabled dyn_lib_open; } ||
>                                 die "ERROR: LoadLibrary/dlopen not found, or 
> avisynth header not found"; }

Did you just drop support for avxsynth?

Also, checking for dyn_lib_open first would slightly speed up configure
when dyn_lib_open is not available.

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

Reply via email to