diff --git a/configure.ac b/configure.ac index 050bcaf845d..95316f31f0e 100644 --- a/configure.ac +++ b/configure.ac @@ -1907,6 +1907,9 @@ if test -n "$with_gallium_drivers"; then case "x$driver" in xsvga) HAVE_GALLIUM_SVGA=yes + if test "x$have_libdrm" != xyes; then + AC_MSG_ERROR([Building svga requires libdrm >= $LIBDRM_REQUIRED]) + fi GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS svga softpipe" gallium_require_drm_loader gallium_check_st "svga/drm" "dri/vmwgfx" "xa/vmwgfx"