summaryrefslogtreecommitdiffstats
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
commit57f439cb9e1fce3ebe77dc12a770ffd73cf91b65 (patch)
tree1264457633c8b2bdbb06111ca96d285ff4e64f83
parent96f0db0f84ec7de002e3b5d060f80c66cb9f2d6c (diff)
downloadbcm5719-llvm-57f439cb9e1fce3ebe77dc12a770ffd73cf91b65.tar.gz
bcm5719-llvm-57f439cb9e1fce3ebe77dc12a770ffd73cf91b65.zip
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.) llvm-svn: 149498
-rw-r--r--llvm/autoconf/configure.ac3
-rwxr-xr-xllvm/configure1
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index d01cea48057..84a120b4f09 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/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/llvm/configure b/llvm/configure
index 402dc4eb6b4..1c790c51b8f 100755
--- a/llvm/configure
+++ b/llvm/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
OpenPOWER on IntegriCloud