gl: only enable gbm backend if gudev is available
authorTim-Philipp Müller <tim@centricular.com>
Mon, 5 Mar 2018 19:57:55 +0000 (19:57 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 5 Mar 2018 20:00:34 +0000 (20:00 +0000)
commit5f9c61e08f42602dff766db3ae5cb21a3dea9f3f
tree4e18f237fd0917bee1d83b8fcec73bc515b8346e
parent7d18a97273790f197788452a690eacfadff15237
gl: only enable gbm backend if gudev is available

gudev/gudev.h is included unconditionally, so only enable
the gbm backend if gudev was actually found. This also
matches the meson build behaviour.

Should fix build on GNOME SDK builder.
configure.ac
m4/gst-gl.m4