Mesa (master): radv: don't build without SHA1.

Dave Airlie airlied at kemper.freedesktop.org
Mon Oct 10 00:10:09 UTC 2016


Module: Mesa
Branch: master
Commit: db5d278541a1bec3e51c2f0cecd2d127abdfc59c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db5d278541a1bec3e51c2f0cecd2d127abdfc59c

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Oct 10 10:06:52 2016 +1000

radv: don't build without SHA1.

Just copy the section from anv above this.

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

---

 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 77eefd1..b414edd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])




More information about the mesa-commit mailing list