diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-11-28 07:59:52 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-11-28 07:59:52 +0000 |
commit | ae7e2a4bbbdfa82b4e2670fccb3a0aed812c3b0a (patch) | |
tree | a4936c790e8f93a220d379babfaca3877a126bf1 /autoconf/configure.ac | |
parent | f86186ee244f3c938d04e0fccfa702410698c47b (diff) |
Add an optional separate install prefix for internal components. rdar://10217046
Some files installed by clang are not relevant for general users and we'd like
to be able to install them to a different location. This adds a new
--with-internal-prefix configure option and a corresponding PROJ_internal_prefix
makefile variable, which defaults to the standard prefix. A tool makefile
can specify that it should be installed to this internal prefix by defining
INTERNAL_TOOL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 5503e3a307..060ebac8d3 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -885,6 +885,12 @@ AC_ARG_ENABLE(libffi,AS_HELP_STRING( esac], llvm_cv_enable_libffi=no) +AC_ARG_WITH(internal-prefix, + AS_HELP_STRING([--with-internal-prefix], + [Installation directory for internal files]),, + withval="") +AC_SUBST(INTERNAL_PREFIX,[$withval]) + dnl===-----------------------------------------------------------------------=== dnl=== dnl=== SECTION 4: Check for programs we need and that they are the right version |