radv: don't build without SHA1.
authorDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2016 00:06:52 +0000 (10:06 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2016 00:08:47 +0000 (10:08 +1000)
Just copy the section from anv above this.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98167
Signed-off-by: Dave Airlie <airlied@redhat.com>
configure.ac

index 77eefd1dd8e82337e775b9b22b3a0c985a38aa12..b414edd30f1c31a6f71bed2cbed538c733a05823 100644 (file)
@@ -1719,6 +1719,9 @@ if test -n "$with_vulkan_drivers"; then
         xradeon)
             PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
             HAVE_RADEON_VULKAN=yes;
+            if test "x$with_sha1" == "x"; then
+                AC_MSG_ERROR([radv vulkan driver requires SHA1])
+            fi
            ;;
         *)
             AC_MSG_ERROR([Vulkan driver '$driver' does not exist])