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 77eefd1..b414edd 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])