[Mesa-dev] [PATCH] configure.ac: Refuse to build Vulkan without DRI3
ville.syrjala at linux.intel.com
ville.syrjala at linux.intel.com
Thu Apr 20 15:20:12 UTC 2017
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Trying to build the Vulkan WSI code results in a failure without DRI3.
Make configure check that DRI3 is available before trying to build
the Vulkan drivers.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 957d15df8caa..248736c63aaa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1844,6 +1844,10 @@ if test -n "$with_vulkan_drivers"; then
AC_MSG_ERROR([Vulkan drivers require the dl_iterate_phdr function])
fi
+ if test "x$enable_dri3" = xno; then
+ AC_MSG_ERROR([Vulkan requires DRI3])
+ fi
+
VULKAN_DRIVERS=`IFS=', '; echo $with_vulkan_drivers`
for driver in $VULKAN_DRIVERS; do
case "x$driver" in
--
2.10.2
More information about the mesa-dev
mailing list