configure.ac: Don't bother checking whether LLVM's MCJIT component is available.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 29 May 2015 10:58:58 +0000 (11:58 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Fri, 29 May 2015 11:14:34 +0000 (12:14 +0100)
Now that we require LLVM 3.3, MCJIT is guaranteed to be available.

Trvial.

configure.ac

index 84b404eb8b2b2985496ba4555fa301c50b66bc28..e49473b0f7e90bfcd4b70a469dcf96f25b7dba89 100644 (file)
@@ -1921,10 +1921,7 @@ if test "x$enable_gallium_llvm" = xyes; then
             AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
         fi
 
-        LLVM_COMPONENTS="engine bitwriter"
-        if $LLVM_CONFIG --components | grep -qw 'mcjit'; then
-            LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
-        fi
+        LLVM_COMPONENTS="engine bitwriter mcjit"
 
         if test "x$enable_opencl" = xyes; then
             llvm_check_version_for "3" "5" "0" "opencl"