summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf/configure.ac
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-12-29 11:58:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-12-29 11:58:17 +0000
commit9db2b524686e08db638d426f725db2e517fc84db (patch)
treebbac5b0e98069e72f9c52b398a60ef1a31a9fe8d /llvm/autoconf/configure.ac
parent7d58776fad1c38aeba3a17ce8779cf467843b058 (diff)
downloadbcm5719-llvm-9db2b524686e08db638d426f725db2e517fc84db.tar.gz
bcm5719-llvm-9db2b524686e08db638d426f725db2e517fc84db.zip
[multilib] Add support to the autoconf build to substitute
a CLANG_LIBDIR_SUFFIX variable. This is necessary before I can add support for using that variable to CMake and the C++ code in Clang, and the autoconf build system does all substitutions in the LLVM tree. As mentioned before, I'm not planning to add actual multilib support to the autoconf build, just enough stubs for it to keep playing nicely with the CMake build once that one has support. llvm-svn: 224922
Diffstat (limited to 'llvm/autoconf/configure.ac')
-rw-r--r--llvm/autoconf/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index c998dd5bc7d..9cc4efe3b12 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -2017,6 +2017,11 @@ if test "${clang_src_root}" = ""; then
clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
+ dnl Clang supports build systems which use the multilib libdir suffix.
+ dnl The autoconf system doesn't support this so stub out that variable.
+ AC_DEFINE_UNQUOTED(CLANG_LIBDIR_SUFFIX,"",
+ [Multilib suffix for libdir.])
+
dnl Use variables to stay under 80 columns.
configh="include/clang/Config/config.h"
doxy="docs/doxygen.cfg"
OpenPOWER on IntegriCloud