OSDN Git Service

configure.ac: do not set HAVE_DRI(23) when libdrm is missing
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 9 Jul 2015 20:19:15 +0000 (21:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:33:10 +0000 (16:33 +0100)
commit16f6d432de07dcb537dafd0c9f3ef7614891ed6b
treeae7f1b911f4b3bc9232de63e28c8bcd35bfc4e52
parentfe4290200942b1103cdc1a238876143b61b731f0
configure.ac: do not set HAVE_DRI(23) when libdrm is missing

These conditionals are used to guard both dri modules and loader(s).

Currently if we try to build the gallium swrast dri module (without glx)
on a system that's missing libdrm the build will fail.

v2: Make sure we assign prior to checking the have_libdrm variable.

Cc: 10.6 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac