r210144 made config.h include llvm-config.h and deduplicated defines. Then rL239987 later added back some of the duplication. http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150914/300329.html suggests this was done for the configure/make build, which no longer exists.
A prior attempt at this was apparently at https://reviews.llvm.org/D41371
The one in llvm-config.h doesn't have this comment and does use cmakedefine. Please make sure we're still doing the right thing when this is empty (that is, build with -DLLVM_DEFAULT_TARGET_TRIPLE="")