On 11/02/2017 19:08, Diego Biurrun wrote:
> ---
>  configure | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configure b/configure
> index 3ca8d87..d7d4f94 100755
> --- a/configure
> +++ b/configure
> @@ -4747,9 +4747,9 @@ if enabled nvenc; then
>      require_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 6"
>  fi
>  
> -if check_pkg_config sdl SDL_events.h SDL_PollEvent; then
> -    check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 
> | SDL_PATCHLEVEL) >= 0x010201" $sdl_cflags &&
> -    check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 
> | SDL_PATCHLEVEL) < 0x010300" $sdl_cflags &&
> +if $($pkg_config $pkg_config_flags "sdl >= 1.2.1" "sdl < 1.3.0"); then
> +    sdl_cflags=$($pkg_config --cflags $pkg_config_flags sdl)
> +    sdl_extralibs=$($pkg_config --libs $pkg_config_flags sdl)
>      enable sdl
>  fi
>  
> 

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

Reply via email to