build: configure: disable GLX if libva-x11 is not found

This commit is contained in:
Víctor Manuel Jáquez Leal 2019-04-10 13:25:10 +02:00
parent 3c86fd12cb
commit 43542a50ab

View file

@ -522,7 +522,10 @@ fi
dnl VA/X11 API
if test $USE_X11 -eq 1; then
PKG_CHECK_MODULES(LIBVA_X11, [libva-x11 >= $VAAPI_REQ],
[], [USE_X11=0])
[], [
USE_X11=0
USE_GLX=0
])
fi
dnl Check for encoding support