configure: check once for DRI3 dependencies
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 27 Nov 2016 00:25:28 +0000 (00:25 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:44:15 +0000 (19:44 +0100)
commitacf3d2afab0571b74c0c0d1aee0f631b33fdc7da
treea14f1e451c4f601340d0b2ab7063f72a98f1769e
parent8212fc95b59d0dd3cae1fe11359e0fa96d75e1bc
configure: check once for DRI3 dependencies

Currently we are having the XCB_DRI3 dependencies duplicated,
partially.

Just do a once-off check and add all of the respective CFLAGS/LIBS
where needed.

As a nice side effect this helps us solve a couple of FIXMEs.

DRI3 is not a thing w/o X11 so disable it in such cases.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
13 files changed:
configure.ac
src/amd/vulkan/Makefile.am
src/gallium/auxiliary/Makefile.am
src/gallium/state_trackers/omx/Makefile.am
src/gallium/state_trackers/va/Makefile.am
src/gallium/state_trackers/vdpau/Makefile.am
src/gallium/state_trackers/xvmc/Makefile.am
src/gallium/targets/omx/Makefile.am
src/gallium/targets/va/Makefile.am
src/gallium/targets/vdpau/Makefile.am
src/gallium/targets/xvmc/Makefile.am
src/intel/Makefile.vulkan.am
src/vulkan/Makefile.am