build: configure: disable GLX if libva-x11 is not found
This commit is contained in:
parent
3c86fd12cb
commit
43542a50ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user