summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-05 23:46:34 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-05 23:46:34 +0000
commit5f11afc4421d88736fe3abe33a4eac4c200c4865 (patch)
tree5df377a36622a38848eae419506a8f5806b2f818 /llvm/include
parentcbc2bcaf17c40bf316c62c7d9853b103a02b4613 (diff)
downloadbcm5719-llvm-5f11afc4421d88736fe3abe33a4eac4c200c4865.tar.gz
bcm5719-llvm-5f11afc4421d88736fe3abe33a4eac4c200c4865.zip
More portability checks for CMake's config.h.
llvm-svn: 72975
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Config/config.h.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake
index ed77874b780..33e2e002e23 100644
--- a/llvm/include/llvm/Config/config.h.cmake
+++ b/llvm/include/llvm/Config/config.h.cmake
@@ -18,17 +18,17 @@
#undef ENABLE_CBE_PRINTF_A
/* Define if position independent code is enabled */
-#undef ENABLE_PIC
+#cmakedefine ENABLE_PIC ${ENABLE_PIC}
/* Define if threads enabled */
#cmakedefine ENABLE_THREADS ${ENABLE_THREADS}
/* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
+#cmakedefine HAVE_ALLOCA ${HAVE_ALLOCA}
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
-#undef HAVE_ALLOCA_H
+#cmakedefine HAVE_ALLOCA_H ${HAVE_ALLOCA_H}
/* Define to 1 if you have the `argz_append' function. */
#undef HAVE_ARGZ_APPEND
@@ -414,7 +414,7 @@
#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
+#cmakedefine HAVE_SYS_WAIT_H ${HAVE_SYS_WAIT_H}
/* Define to 1 if the system has the type `uint64_t'. */
#undef HAVE_UINT64_T
OpenPOWER on IntegriCloud