Mesa (master): configure: Require libudev for drm & wayland egl platforms

Benjamin Franzke bnf at kemper.freedesktop.org
Sat Jul 2 12:02:39 UTC 2011


Module: Mesa
Branch: master
Commit: 7ed1826e2e2a5b5c4840821c92ef7273efe32e24
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ed1826e2e2a5b5c4840821c92ef7273efe32e24

Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Sat Jul  2 13:46:42 2011 +0200

configure: Require libudev for drm & wayland egl platforms

NOTE: This is a candidate for the 7.11 branch.

---

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 74a511e..7d0f3d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1724,6 +1724,10 @@ yes)
         if test "$plat" = "drm" && test "x$enable_gbm" = "xno"; then
                 AC_MSG_ERROR([EGL platform drm needs gbm])
         fi
+        case "$plat$have_libudev" in
+                waylandno|drmno)
+                    AC_MSG_ERROR([cannot build $plat platfrom without udev]) ;;
+        esac
     done
     EGL_PLATFORMS="$egl_platforms"
     ;;




More information about the mesa-commit mailing list