aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-01 14:06:21 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-01 14:06:21 +0000
commit06db458bca0265f9dffe90d9036b02b4ba638340 (patch)
treec63866d74701b49941622f5445296b416c697c6f
parent1766971769c21aa4e55671ac5be45b21ff31f8cd (diff)
autoconf: generate clang's private config.h header
The CMake build already generated one. Follows clang r149497. This brings us one step closer to compiling and configuring clang separately from LLVM using the autoconf build, too. (I lack the right version of autoconf et al. to regen, but it was a simple change, so I just updated configure manually.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149498 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac3
-rwxr-xr-xconfigure1
2 files changed, 4 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index d01cea4805..84a120b4f0 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1586,7 +1586,10 @@ AC_CONFIG_FILES([llvm.spec])
dnl Configure doxygen's configuration file
AC_CONFIG_FILES([docs/doxygen.cfg])
+
+dnl Configure clang, if present
if test -f ${srcdir}/tools/clang/README.txt; then
+ AC_CONFIG_HEADERS([tools/clang/include/clang/Config/config.h])
AC_CONFIG_FILES([tools/clang/docs/doxygen.cfg])
fi
diff --git a/configure b/configure
index 402dc4eb6b..1c790c51b8 100755
--- a/configure
+++ b/configure
@@ -21095,6 +21095,7 @@ ac_config_files="$ac_config_files llvm.spec"
ac_config_files="$ac_config_files docs/doxygen.cfg"
if test -f ${srcdir}/tools/clang/README.txt; then
+ ac_config_headers="$ac_config_headers tools/clang/include/clang/Config/config.h"
ac_config_files="$ac_config_files tools/clang/docs/doxygen.cfg"
fi