path: root/
diff options
authorEric Anholt <>2014-01-30 10:19:44 -0800
committerEric Anholt <>2014-03-04 14:32:52 -0800
commitb959fd9674938e127a34d42d34b903e3a9ae7ad9 (patch)
treebc2b1d9fd045745d2891236a36b29bbb4feea5d7 /
parent262e15fdd401d72045c37a7877efdec1038edec8 (diff)
dri: Require libudev-dev for building DRI on Linux.
The loader infrastructure for everything but DRI2 requires that udev be present, so we can figure out an appropriate driver from the fd. We don't have a portable solution yet, but presumably it will have similar lookup based on the device node. It will also be even more required for krh's udev-based hwdb support, which lets us have a loader that actually loads DRI drivers not included in the loader's source distribution. Bugzilla: Reviewed-by: Matt Turner <>
Diffstat (limited to '')
1 files changed, 4 insertions, 0 deletions
diff --git a/ b/
index af5f4c600d1..258cb3d770a 100644
--- a/
+++ b/
@@ -994,6 +994,10 @@ if test "x$enable_dri" = xyes; then
+ if test "x$have_libudev" != xyes; then
+ AC_MSG_ERROR([libudev-dev required for building DRI])
+ fi
case "$host_cpu" in
powerpc* | sparc*)
# Build only the drivers for cards that exist on PowerPC/sparc