anv/entrypoints: don't go using wayland/xcb unless they are configured
authorDave Airlie <airlied@redhat.com>
Sat, 4 Jun 2016 20:49:42 +0000 (06:49 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 4 Jun 2016 21:03:12 +0000 (07:03 +1000)
commitf018456901ee291181ecce74c30b19c9f6731f06
treebc944facbca81eecd1a4e30bf0dc304a7ee00d7e
parentd5491a81ff5ad8c9ef877f59a3d61252e1cffb98
anv/entrypoints: don't go using wayland/xcb unless they are configured

The fix in:
anv: let anv_entrypoints_gen.py generate proper Wayland/Xcb guards

breaks things if wayland headers aren't installed.

Separate things out properly to avoid that problem.

[airlied: fixed up to put in pre-existing sections].
Reported-by: Arjan van de Ven
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/intel/vulkan/Makefile.am