autotools: oprofilejit should be included in the list of LLVM components required
authorAdam Sampson <ats-fd@offog.org>
Thu, 28 Feb 2013 15:35:11 +0000 (15:35 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 28 Feb 2013 15:37:09 +0000 (15:37 +0000)
NOTE: This is a candidate for the stable branch.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
configure.ac

index f78308e..5f95a78 100644 (file)
@@ -1688,6 +1688,9 @@ if test "x$enable_gallium_llvm" = xyes; then
         if $LLVM_CONFIG --components | grep -q '\<mcjit\>'; then
             LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit"
         fi
+        if $LLVM_CONFIG --components | grep -q '\<oprofilejit\>'; then
+            LLVM_COMPONENTS="${LLVM_COMPONENTS} oprofilejit"
+        fi
 
         if test "x$enable_opencl" = xyes; then
             LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"