configure: error out if building GBM without dri
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 May 2014 21:09:22 +0000 (22:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 10 May 2014 01:08:36 +0000 (02:08 +0100)
commite477d12c3396ded1607b6f57c15e100ca08f44f5
treebbc8e369d17c69462c3d73c5080abe120b2c1817
parent510465016b70ea64706543a35dbc51b26176de17
configure: error out if building GBM without dri

Both backends require --enable-dri, and building an empty libgbm
makes little to no sense. Error out at configure to prevent the
user from shooting themselves in the foot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78225
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
configure.ac