[Driver] Use llvm-config.h, not config.h to unbreak out-of-tree builds
authorVedant Kumar <vsk@apple.com>
Thu, 18 Aug 2016 06:43:07 +0000 (06:43 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 18 Aug 2016 06:43:07 +0000 (06:43 +0000)
llvm/Config/config.h has intentionally been excluded from llvm
installations (see: llvm/CMakeLists.txt). Un-break out-of-tree builds
post-r278882 by switching to llvm-config.h, which is exported.

Suggested by Will Dietz!

llvm-svn: 279035

clang/tools/driver/cc1_main.cpp

index b44108e..1fddc7c 100644 (file)
@@ -25,7 +25,7 @@
 #include "clang/Frontend/Utils.h"
 #include "clang/FrontendTool/Utils.h"
 #include "llvm/ADT/Statistic.h"
-#include "llvm/Config/config.h"
+#include "llvm/Config/llvm-config.h"
 #include "llvm/LinkAllPasses.h"
 #include "llvm/Option/ArgList.h"
 #include "llvm/Option/OptTable.h"