aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAdam Sampson <[email protected]>2013-02-28 15:35:11 +0000
committerJosé Fonseca <[email protected]>2013-02-28 15:37:09 +0000
commit2506b035031d6022fec0465bffac8eedd43de0f9 (patch)
tree92853a1fe1632acdd46a0c9741d1446e5829f47b /configure.ac
parent6bc7605745d53df94398b724b66db74d23d09e03 (diff)
autotools: oprofilejit should be included in the list of LLVM components required
NOTE: This is a candidate for the stable branch. Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f78308e8271..5f95a78d26f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"