[Mesa-dev] [PATCH v3 20/25] configure.ac: Move radv check to the Vulkan section
Tobias Droste
tdroste at gmx.de
Tue Oct 11 23:02:47 UTC 2016
This moves the LLVM check for radv to the corresponding driver section.
No functional change.
Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
configure.ac | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index f759a98..23160f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1879,6 +1879,7 @@ if test -n "$with_vulkan_drivers"; then
;;
xradeon)
PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
+ radeon_llvm_check "3" "9" "0" "radv"
HAVE_RADEON_VULKAN=yes;
if test "x$with_sha1" == "x"; then
AC_MSG_ERROR([radv vulkan driver requires SHA1])
@@ -2575,10 +2576,6 @@ if test -n "$with_gallium_drivers"; then
done
fi
-if test "x$HAVE_RADEON_VULKAN" = "xyes"; then
- radeon_llvm_check "3" "9" "0" "radv"
-fi
-
dnl Set LLVM_LIBS - This is done after the driver configuration so
dnl that drivers can add additional components to LLVM_COMPONENTS.
dnl Previously, gallium drivers were updating LLVM_LIBS directly
--
2.10.0
More information about the mesa-dev
mailing list