[llvm-commits] [llvm] r149498 - in /llvm/trunk: autoconf/configure.ac configure

Dylan Noblesmith nobled at dreamwidth.org
Wed Feb 1 06:06:22 PST 2012


Author: nobled
Date: Wed Feb  1 08:06:21 2012
New Revision: 149498

URL: http://llvm.org/viewvc/llvm-project?rev=149498&view=rev
Log:
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.)

Modified:
    llvm/trunk/autoconf/configure.ac
    llvm/trunk/configure

Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=149498&r1=149497&r2=149498&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Wed Feb  1 08:06:21 2012
@@ -1586,7 +1586,10 @@
 
 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
 

Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=149498&r1=149497&r2=149498&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Wed Feb  1 08:06:21 2012
@@ -21095,6 +21095,7 @@
 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





More information about the llvm-commits mailing list