config.h.*: Rework r210144. Don't edit config.h.in manually.
[oota-llvm.git] / autoconf / configure.ac
index a0a0a218f003ca5e3c87ab48e63c83c83dc78339..644c5aeaf2acb3907a440fd37d3ec955fe606e87 100644 (file)
@@ -2172,7 +2172,10 @@ dnl contains the same list of files as AC_CONFIG_HEADERS below. This ensures the
 dnl files can be updated automatically when their *.in sources change.
 AC_CONFIG_HEADERS([include/llvm/Config/config.h include/llvm/Config/llvm-config.h])
 AH_TOP([#ifndef CONFIG_H
-#define CONFIG_H])
+#define CONFIG_H
+
+/* Exported configuration */
+#include "llvm/Config/llvm-config.h"])
 AH_BOTTOM([#endif])
 
 AC_CONFIG_FILES([include/llvm/Config/Targets.def])