[Mesa-dev] [PATCH 1/3] dri: Require libudev-dev for building DRI on Linux.
Eric Anholt
eric at anholt.net
Thu Jan 30 10:46:21 PST 2014
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 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.
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index ba158e8..7d2f7ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -986,6 +986,10 @@ if test "x$enable_dri" = xyes; then
DEFINES="$DEFINES -DHAVE_DRI3"
fi
+ if test "x$have_libudev" != xyes; then
+ AC_MSG_ERROR([libudev-dev required for building DRI])
+ fi
+
case "$host_cpu" in
x86_64|amd64)
if test "x$DRI_DIRS" = "xyes"; then
--
1.8.5.3
More information about the mesa-dev
mailing list