From: Ville Syrjälä <ville.syrj...@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.syrj...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev