Mesa (master): configure.ac: require xcb* for the omx/va/ ... when using x11 platform
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Nov 8 16:01:21 UTC 2017
Module: Mesa
Branch: master
Commit: 85a017230cacd0661570421c8e5b0619e512d33d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85a017230cacd0661570421c8e5b0619e512d33d
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Tue Oct 31 18:58:10 2017 +0000
configure.ac: require xcb* for the omx/va/... when using x11 platform
Targets such as omx and va can work w/o anything X related. Mandate the
xcb* dependencies only when the X11 platform is selected.
Reported-by: Lukas Rusak <lorusak at gmail.com>
Fixes: 63e11ac2b5c ("configure: error out if building VA w/o supported
platform")
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Tested-by: Lukas Rusak <lorusak at gmail.com> (v1)
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index dafc9f8752..59a111ae01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2156,7 +2156,9 @@ if test "x$enable_xvmc" = xyes -o \
"x$enable_vdpau" = xyes -o \
"x$enable_omx_bellagio" = xyes -o \
"x$enable_va" = xyes; then
- PKG_CHECK_MODULES([VL], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED])
+ if echo $platforms | grep -q "x11"; then
+ PKG_CHECK_MODULES([VL], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED])
+ fi
need_gallium_vl_winsys=yes
fi
AM_CONDITIONAL(NEED_GALLIUM_VL_WINSYS, test "x$need_gallium_vl_winsys" = xyes)
More information about the mesa-commit
mailing list