summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-03 17:45:31 +0000
committerEric Christopher <echristo@apple.com>2012-08-03 17:45:31 +0000
commit46342fecd039b8a9c7f14c60ff9896683a53bbf6 (patch)
tree4ed918cdd647814b85b7ddb21de666af13c2dafa /llvm/autoconf
parenta9171bcf7d513a5faa21a9e0e3dcf6135bb1f591 (diff)
downloadbcm5719-llvm-46342fecd039b8a9c7f14c60ff9896683a53bbf6.tar.gz
bcm5719-llvm-46342fecd039b8a9c7f14c60ff9896683a53bbf6.zip
Revert previous patch here, we should instead configure in specific
packages for particular uses. llvm-svn: 161246
Diffstat (limited to 'llvm/autoconf')
-rw-r--r--llvm/autoconf/configure.ac7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index aba46459edb..7d36a06f14b 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -1201,7 +1201,7 @@ AC_ARG_WITH(oprofile,
no) llvm_cv_oppath=
AC_SUBST(USE_OPROFILE, [0]) ;;
*) llvm_cv_oppath="${withval}/lib/oprofile"
- BUILD_FLAGS="-I${withval}/include";;
+ CPPFLAGS="-I${withval}/include";;
esac
case $llvm_cv_os_type in
Linux)
@@ -1262,7 +1262,7 @@ AC_ARG_WITH(intel-jitevents,
AC_SUBST(INTEL_JITEVENTS_LIBDIR)
LIBS="$LIBS -L${INTEL_JITEVENTS_LIBDIR}"
- BUILD_FLAGS="$CPPFLAGS -I$INTEL_JITEVENTS_INCDIR"
+ CPPFLAGS="$CPPFLAGS -I$INTEL_JITEVENTS_INCDIR"
AC_SEARCH_LIBS(iJIT_IsProfilingActive, jitprofiling, [], [
echo "Error! Cannot find libjitprofiling.a. Please check path specified in flag --with-intel-jitevents"
@@ -1280,9 +1280,6 @@ AC_ARG_WITH(intel-jitevents,
AC_DEFINE_UNQUOTED([LLVM_USE_INTEL_JITEVENTS],$USE_INTEL_JITEVENTS,
[Define if we have the Intel JIT API runtime support library])
-dnl Substitute this here for now.
-AC_SUBST(BUILD_FLAGS)
-
dnl===-----------------------------------------------------------------------===
dnl===
dnl=== SECTION 6: Check for header files
OpenPOWER on IntegriCloud