configure: radv depends on mako
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 4 Jun 2018 11:08:15 +0000 (12:08 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 5 Jun 2018 15:32:48 +0000 (16:32 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106784
Fixes: 17201a2eb0b1b85387136 "radv: port to using updated anv
                              entrypoint/extension generator."
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
configure.ac

index 02dca4547c8482a0b16442ad5f6b2c5d91028300..600127af8f68e1bd5c25b64c6c2d84f276d3a715 100644 (file)
@@ -2099,6 +2099,9 @@ if test -n "$with_vulkan_drivers"; then
             PKG_CHECK_MODULES([AMDGPU], [libdrm >= $LIBDRM_AMDGPU_REQUIRED libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
             radeon_llvm_check $LLVM_REQUIRED_RADV "radv"
             require_x11_dri3 "radv"
+            if test "x$acv_mako_found" = xno; then
+                AC_MSG_ERROR([Python mako module v$PYTHON_MAKO_REQUIRED or higher not found])
+            fi
             HAVE_RADEON_VULKAN=yes
             ;;
         *)