configure.ac: Fail if egl x11 platform dependencies are not available
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 1 Jun 2012 18:14:20 +0000 (14:14 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 5 Jun 2012 18:34:33 +0000 (14:34 -0400)
commit2c4f6ceeb466cb15df34670aaacbcbdd4aba5fd6
tree580334523f6e091958cec954f61a7f77cef4417e
parent75f9d24ac4a539a8f0c16c9bd66e11dc394ba81b
configure.ac: Fail if egl x11 platform dependencies are not available

Currently, if you pass --with-egl-platforms=x11 but xcb-dri2 isn't available
we just silently fail and disables building the EGL DRI2 driver.

This commit cleans up the EGL platfrom checking and fails if a selected
platform can't find its required dependencies.

Reviewed-by: Eric Anholt <eric@anholt.net>
configure.ac