summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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