[Mesa-dev] [PATCH] configure: drop duplicated libudev check

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 21 09:55:36 PDT 2014


For the purposes of configure.ac --enable-dri3 can be considered a subset
of --enable-dri where the latter already checks for libudev. Additionally
it's done in a platform aware manner, meaning that libudev will be required
only on linux.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76377
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c5042f9..38d540e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -824,9 +824,6 @@ xyesno)
         PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED])
         GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED"
         if test x"$enable_dri3" = xyes; then
-            if test x"$have_libudev" != xyes; then
-              AC_MSG_ERROR([DRI3 requires libudev >= $LIBUDEV_REQUIRED])
-            fi
             PKG_CHECK_MODULES([DRI3PROTO], [dri3proto >= $DRI3PROTO_REQUIRED])
             PKG_CHECK_MODULES([PRESENTPROTO], [presentproto >= $PRESENTPROTO_REQUIRED])
         fi
-- 
1.9.1



More information about the mesa-dev mailing list