summaryrefslogtreecommitdiff
path: root/configure
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
commit9798b274ad69fb991af15967d2ff590cefd1c2e2 (patch)
treee6224762b2322ed8bc992c2f83b835fb4040ee8d /configure
parent6e53164e3c4f3db35959b3bc4db00e1243a90c4e (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index b8cb1e22328..67eac551d5a 100755
--- a/configure
+++ b/configure
@@ -18458,6 +18458,12 @@ if test "${clang_src_root}" = ""; then
clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
+
+cat >>confdefs.h <<_ACEOF
+#define CLANG_LIBDIR_SUFFIX ""
+_ACEOF
+
+
configh="include/clang/Config/config.h"
doxy="docs/doxygen.cfg"
ac_config_headers="$ac_config_headers tools/clang/${configh}:${clang_src_root}/${configh}.in"