Module: libav Branch: master Commit: 2610c9528f86286e4c6e174411a26ff5b4815cde
Author: Diego Biurrun <di...@biurrun.de> Committer: Diego Biurrun <di...@biurrun.de> Date: Tue Mar 17 13:12:41 2015 +0100 configure: Move initial VAAPI check to a more sensible place --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 80f39f3..86aa017 100755 --- a/configure +++ b/configure @@ -4579,7 +4579,6 @@ disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib 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 atan2f_args=2 ldexpf_args=2 @@ -4775,6 +4774,8 @@ if enabled libxcb; then add_extralibs "$xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs" fi +enabled vaapi && require vaapi va/va.h vaInitialize -lva + enabled vaapi && check_code cc "va/va.h" "vaCreateSurfaces(0, 0, 0, 0, 0, 0, 0, 0)" || disable vaapi _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits