summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Sampson <ats-fd@offog.org>2013-02-28 15:35:11 +0000
committerIan Romanick <ian.d.romanick@intel.com>2013-03-05 14:57:09 -0800
commit9d0df8207693c3ad2c3aa797a8a4fb8f3842edc0 (patch)
treea9f9d8cae1ec40a4ae732f8486256f3bab20c676
parent049f343e8ace0057ab5f8218a5c130632964ef71 (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 <jfonseca@vmware.com> (cherry picked from commit 2506b035031d6022fec0465bffac8eedd43de0f9)
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5701f8ad4ff..d75cf65e195 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1682,6 +1682,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"