[Mesa-dev] [PATCH v3 03/25] configure.ac: Use new llvm_add_default_components

Tobias Droste tdroste at gmx.de
Tue Oct 11 23:02:30 UTC 2016


Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
 configure.ac | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 69421ff..e48ed57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2282,11 +2282,7 @@ if test "x$enable_gallium_llvm" = xyes || test "x$HAVE_RADEON_VULKAN" = xyes; th
             AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
         fi
 
-        LLVM_COMPONENTS="engine bitwriter mcjit mcdisassembler"
-
-        if $LLVM_CONFIG --components | grep -q inteljitevents ; then
-            LLVM_COMPONENTS="${LLVM_COMPONENTS} inteljitevents"
-        fi
+        llvm_add_default_components
 
         if test "x$enable_opencl" = xyes; then
             llvm_check_version_for "3" "6" "0" "opencl"
-- 
2.10.0



More information about the mesa-dev mailing list