Skip to content
Snippets Groups Projects
Commit 85a01723 authored by Emil Velikov's avatar Emil Velikov
Browse files

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: default avatarLukas Rusak <lorusak@gmail.com>
Fixes: 63e11ac2 ("configure: error out if building VA w/o supported
platform")
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Lukas Rusak <lorusak@gmail.com> (v1)
parent b4967561
No related branches found
No related tags found
No related merge requests found
...@@ -2156,7 +2156,9 @@ if test "x$enable_xvmc" = xyes -o \ ...@@ -2156,7 +2156,9 @@ if test "x$enable_xvmc" = xyes -o \
"x$enable_vdpau" = xyes -o \ "x$enable_vdpau" = xyes -o \
"x$enable_omx_bellagio" = xyes -o \ "x$enable_omx_bellagio" = xyes -o \
"x$enable_va" = xyes; then "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 need_gallium_vl_winsys=yes
fi fi
AM_CONDITIONAL(NEED_GALLIUM_VL_WINSYS, test "x$need_gallium_vl_winsys" = xyes) AM_CONDITIONAL(NEED_GALLIUM_VL_WINSYS, test "x$need_gallium_vl_winsys" = xyes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment