[Mesa-dev] [PATCH 22/28] configure: error out if building Vulkan w/o supported platform

Emil Velikov emil.l.velikov at gmail.com
Thu Dec 8 20:00:11 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Signed-off-by: Emil Velikov <emil.velikov at 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



More information about the mesa-dev mailing list