X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FConfig%2Fconfig.h.cmake;h=948708343136c5973db2fe768d5de3a34ecb70f8;hb=9c02a276049cbd1d1511a88ebc7a22bb33658237;hp=69e358031ebc6e3f8738b257bc11dca13735dff9;hpb=c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9;p=oota-llvm.git diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 69e358031eb..94870834313 100644 --- a/include/llvm/Config/config.h.cmake +++ b/include/llvm/Config/config.h.cmake @@ -1,6 +1,4 @@ -/************************************** -** Created by Kevin from config.h.in ** -***************************************/ +/* include/llvm/Config/config.h.cmake corresponding to config.h.in. */ #ifndef CONFIG_H #define CONFIG_H @@ -8,24 +6,33 @@ /* Bug report URL. */ #define BUG_REPORT_URL "${BUG_REPORT_URL}" +/* Define if we have libxml2 */ +#cmakedefine CLANG_HAVE_LIBXML ${CLANG_HAVE_LIBXML} + /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "${CLANG_RESOURCE_DIR}" -/* Directory wherelibstdc++ is installed. */ -#define GCC_INSTALL_PREFIX "${GCC_INSTALL_PREFIX}" - /* Directories clang will search for headers */ #define C_INCLUDE_DIRS "${C_INCLUDE_DIRS}" -/* Define if CBE is enabled for printf %a output */ -#cmakedefine ENABLE_CBE_PRINTF_A ${ENABLE_CBE_PRINTF_A} +/* Default to all compiler invocations for --sysroot=. */ +#undef DEFAULT_SYSROOT + +/* Define if you want backtraces on crash */ +#cmakedefine ENABLE_BACKTRACES /* Define if position independent code is enabled */ #cmakedefine ENABLE_PIC -/* Define if timestamp information (e.g., __DATE___) is allowed */ +/* Define if timestamp information (e.g., __DATE__) is allowed */ #cmakedefine ENABLE_TIMESTAMPS ${ENABLE_TIMESTAMPS} +/* Directory where gcc is installed. */ +#undef GCC_INSTALL_PREFIX + +/* Define to 1 if you have the `arc4random' function. */ +#cmakedefine HAVE_ARC4RANDOM + /* Define to 1 if you have the `argz_append' function. */ #cmakedefine HAVE_ARGZ_APPEND ${HAVE_ARGZ_APPEND} @@ -48,7 +55,7 @@ #cmakedefine HAVE_ASSERT_H ${HAVE_ASSERT_H} /* Define to 1 if you have the `backtrace' function. */ -#undef HAVE_BACKTRACE +#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE} /* Define to 1 if you have the `bcopy' function. */ #undef HAVE_BCOPY @@ -65,7 +72,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_CRASHREPORTERCLIENT_H -/* Define if __crashreporter_info__ exists. */ +/* can use __crashreporter_info__ */ #undef HAVE_CRASHREPORTER_INFO /* Define to 1 if you have the header file. */ @@ -158,7 +165,7 @@ #cmakedefine HAVE_GETTIMEOFDAY ${HAVE_GETTIMEOFDAY} /* Define if the Graphviz program is available */ -#undef HAVE_GRAPHVIZ +#cmakedefine HAVE_GRAPHVIZ ${HAVE_GRAPHVIZ} /* Define if the gv program is available */ #cmakedefine HAVE_GV ${HAVE_GV} @@ -551,6 +558,9 @@ /* Has gcc/MSVC atomic intrinsics */ #cmakedefine01 LLVM_HAS_ATOMICS +/* Host triple LLVM will be executed on */ +#cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}" + /* Installation directory for include files */ #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}" @@ -620,6 +630,12 @@ /* Installation prefix directory */ #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}" +/* Define if we have the Intel JIT API runtime support library */ +#cmakedefine LLVM_USE_INTEL_JITEVENTS 1 + +/* Define if we have the oprofile JIT-support library */ +#cmakedefine LLVM_USE_OPROFILE 1 + /* Major version of the LLVM API */ #cmakedefine LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR} @@ -716,10 +732,4 @@ /* Added by Kevin -- Maximum path length */ #cmakedefine MAXPATHLEN ${MAXPATHLEN} -/* Support for Intel JIT Events API is enabled */ -#cmakedefine LLVM_USE_INTEL_JITEVENTS 1 - -/* Support for OProfile JIT API is enabled */ -#cmakedefine LLVM_USE_OPROFILE 1 - #endif