From: Emil Velikov <emil.veli...@collabora.com>

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index b2eb47f..01b905e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1954,6 +1954,9 @@ require_sha1_and_dri3() {
             AC_MSG_ERROR([$1 Vulkan driver requires DRI3 when built with X11])
         fi
     fi
+    if ! echo "$platforms" | grep -q 'x11\|wayland'; then
+        AC_MSG_ERROR([$1 Vulkan driver requires at least one of the x11 or 
wayland platforms])
+    fi
 }
 
 if test -n "$with_vulkan_drivers"; then
-- 
2.10.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to