configure: Require libudev for drm & wayland egl platforms
NOTE: This is a candidate for the 7.11 branch.
This commit is contained in:
parent
9b8cd49930
commit
7ed1826e2e
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue