Skip to content

Commit

Permalink
autoconf: generate clang's private config.h header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nobled committed Feb 1, 2012
1 parent 1766971 commit 06db458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06db458

Please sign in to comment.