From: Benjamin Franzke Date: Sat, 2 Jul 2011 11:46:42 +0000 (+0200) Subject: configure: Require libudev for drm & wayland egl platforms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ed1826e2e2a5b5c4840821c92ef7273efe32e24;p=mesa.git configure: Require libudev for drm & wayland egl platforms NOTE: This is a candidate for the 7.11 branch. --- diff --git a/configure.ac b/configure.ac index 74a511edd2b..7d0f3d8ba5c 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" ;;