1 /* include/llvm/Config/config.h.cmake corresponding to config.h.in. */ 2 3 #ifndef CONFIG_H 4 #define CONFIG_H 5 6 /* Exported configuration */ 7 #include "llvm/Config/llvm-config.h" 8 9 /* Bug report URL. */ 10 #define BUG_REPORT_URL "${BUG_REPORT_URL}" 11 12 /* Define if you want backtraces on crash */ 13 #cmakedefine ENABLE_BACKTRACES 14 15 /* Define to enable crash overrides */ 16 #cmakedefine ENABLE_CRASH_OVERRIDES 17 18 /* Define to disable C++ atexit */ 19 #cmakedefine DISABLE_LLVM_DYLIB_ATEXIT 20 21 /* Define if position independent code is enabled */ 22 #cmakedefine ENABLE_PIC 23 24 /* Define if timestamp information (e.g., __DATE__) is allowed */ 25 #cmakedefine ENABLE_TIMESTAMPS ${ENABLE_TIMESTAMPS} 26 27 /* Define to 1 if you have the `arc4random' function. */ 28 #cmakedefine HAVE_DECL_ARC4RANDOM ${HAVE_DECL_ARC4RANDOM} 29 30 /* Define to 1 if you have the `backtrace' function. */ 31 #cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE} 32 33 /* Define to 1 if you have the `bcopy' function. */ 34 #undef HAVE_BCOPY 35 36 /* Define to 1 if you have the `closedir' function. */ 37 #cmakedefine HAVE_CLOSEDIR ${HAVE_CLOSEDIR} 38 39 /* Define to 1 if you have the <cxxabi.h> header file. */ 40 #cmakedefine HAVE_CXXABI_H ${HAVE_CXXABI_H} 41 42 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 43 #undef HAVE_CRASHREPORTERCLIENT_H 44 45 /* can use __crashreporter_info__ */ 46 #undef HAVE_CRASHREPORTER_INFO 47 48 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you 49 don't. */ 50 #cmakedefine01 HAVE_DECL_STRERROR_S 51 52 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 53 #cmakedefine HAVE_DIA_SDK ${HAVE_DIA_SDK} 54 55 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 56 */ 57 #cmakedefine HAVE_DIRENT_H ${HAVE_DIRENT_H} 58 59 /* Define if you have the GNU dld library. */ 60 #undef HAVE_DLD 61 62 /* Define to 1 if you have the `dlerror' function. */ 63 #cmakedefine HAVE_DLERROR ${HAVE_DLERROR} 64 65 /* Define to 1 if you have the <dlfcn.h> header file. */ 66 #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H} 67 68 /* Define if dlopen() is available on this platform. */ 69 #cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN} 70 71 /* Define if you have the _dyld_func_lookup function. */ 72 #undef HAVE_DYLD 73 74 /* Define to 1 if you have the <errno.h> header file. */ 75 #cmakedefine HAVE_ERRNO_H ${HAVE_ERRNO_H} 76 77 /* Define to 1 if you have the <execinfo.h> header file. */ 78 #cmakedefine HAVE_EXECINFO_H ${HAVE_EXECINFO_H} 79 80 /* Define to 1 if you have the <fcntl.h> header file. */ 81 #cmakedefine HAVE_FCNTL_H ${HAVE_FCNTL_H} 82 83 /* Define to 1 if you have the <fenv.h> header file. */ 84 #cmakedefine HAVE_FENV_H ${HAVE_FENV_H} 85 86 /* Define if libffi is available on this platform. */ 87 #cmakedefine HAVE_FFI_CALL ${HAVE_FFI_CALL} 88 89 /* Define to 1 if you have the <ffi/ffi.h> header file. */ 90 #cmakedefine HAVE_FFI_FFI_H ${HAVE_FFI_FFI_H} 91 92 /* Define to 1 if you have the <ffi.h> header file. */ 93 #cmakedefine HAVE_FFI_H ${HAVE_FFI_H} 94 95 /* Define to 1 if you have the `futimes' function. */ 96 #cmakedefine HAVE_FUTIMES ${HAVE_FUTIMES} 97 98 /* Define to 1 if you have the `futimens' function */ 99 #cmakedefine HAVE_FUTIMENS ${HAVE_FUTIMENS} 100 101 /* Define to 1 if you have the `getcwd' function. */ 102 #cmakedefine HAVE_GETCWD ${HAVE_GETCWD} 103 104 /* Define to 1 if you have the `getpagesize' function. */ 105 #cmakedefine HAVE_GETPAGESIZE ${HAVE_GETPAGESIZE} 106 107 /* Define to 1 if you have the `getrlimit' function. */ 108 #cmakedefine HAVE_GETRLIMIT ${HAVE_GETRLIMIT} 109 110 /* Define to 1 if you have the `getrusage' function. */ 111 #cmakedefine HAVE_GETRUSAGE ${HAVE_GETRUSAGE} 112 113 /* Define to 1 if you have the `gettimeofday' function. */ 114 #cmakedefine HAVE_GETTIMEOFDAY ${HAVE_GETTIMEOFDAY} 115 116 /* Define to 1 if the system has the type `int64_t'. */ 117 #cmakedefine HAVE_INT64_T ${HAVE_INT64_T} 118 119 /* Define to 1 if you have the <inttypes.h> header file. */ 120 #cmakedefine HAVE_INTTYPES_H ${HAVE_INTTYPES_H} 121 122 /* Define to 1 if you have the `isatty' function. */ 123 #cmakedefine HAVE_ISATTY 1 124 125 /* Define if you have the libdl library or equivalent. */ 126 #cmakedefine HAVE_LIBDL ${HAVE_LIBDL} 127 128 /* Define to 1 if you have the `imagehlp' library (-limagehlp). */ 129 #cmakedefine HAVE_LIBIMAGEHLP ${HAVE_LIBIMAGEHLP} 130 131 /* Define to 1 if you have the `m' library (-lm). */ 132 #undef HAVE_LIBM 133 134 /* Define to 1 if you have the `psapi' library (-lpsapi). */ 135 #cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI} 136 137 /* Define to 1 if you have the `pthread' library (-lpthread). */ 138 #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD} 139 140 /* Define to 1 if you have the `shell32' library (-lshell32). */ 141 #cmakedefine HAVE_LIBSHELL32 ${HAVE_LIBSHELL32} 142 143 /* Define to 1 if you have the 'z' library (-lz). */ 144 #cmakedefine HAVE_LIBZ ${HAVE_LIBZ} 145 146 /* Define to 1 if you have the 'edit' library (-ledit). */ 147 #cmakedefine HAVE_LIBEDIT ${HAVE_LIBEDIT} 148 149 /* Define to 1 if you have the <limits.h> header file. */ 150 #cmakedefine HAVE_LIMITS_H ${HAVE_LIMITS_H} 151 152 /* Define to 1 if you have the <link.h> header file. */ 153 #cmakedefine HAVE_LINK_H ${HAVE_LINK_H} 154 155 /* Define if you can use -rdynamic. */ 156 #define HAVE_LINK_EXPORT_DYNAMIC 1 157 158 /* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add 159 the current directory to the dynamic linker search path. */ 160 #undef HAVE_LINK_R 161 162 /* Define to 1 if you have the `longjmp' function. */ 163 #cmakedefine HAVE_LONGJMP ${HAVE_LONGJMP} 164 165 /* Define to 1 if you have the <mach/mach.h> header file. */ 166 #cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H} 167 168 /* Define to 1 if you have the <mach-o/dyld.h> header file. */ 169 #cmakedefine HAVE_MACH_O_DYLD_H ${HAVE_MACH_O_DYLD_H} 170 171 /* Define if mallinfo() is available on this platform. */ 172 #cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO} 173 174 /* Define to 1 if you have the <malloc.h> header file. */ 175 #cmakedefine HAVE_MALLOC_H ${HAVE_MALLOC_H} 176 177 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 178 #cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H} 179 180 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 181 #cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS} 182 183 /* Define to 1 if you have the `mallctl` function. */ 184 #cmakedefine HAVE_MALLCTL ${HAVE_MALLCTL} 185 186 /* Define to 1 if you have the `mkdtemp' function. */ 187 #cmakedefine HAVE_MKDTEMP ${HAVE_MKDTEMP} 188 189 /* Define to 1 if you have the `mkstemp' function. */ 190 #cmakedefine HAVE_MKSTEMP ${HAVE_MKSTEMP} 191 192 /* Define to 1 if you have the `mktemp' function. */ 193 #cmakedefine HAVE_MKTEMP ${HAVE_MKTEMP} 194 195 /* Define to 1 if you have a working `mmap' system call. */ 196 #undef HAVE_MMAP 197 198 /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if 199 it uses MAP_ANON */ 200 #undef HAVE_MMAP_ANONYMOUS 201 202 /* Define if mmap() can map files into memory */ 203 #undef HAVE_MMAP_FILE 204 205 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 206 #cmakedefine HAVE_NDIR_H ${HAVE_NDIR_H} 207 208 /* Define to 1 if you have the `opendir' function. */ 209 #cmakedefine HAVE_OPENDIR ${HAVE_OPENDIR} 210 211 /* Define to 1 if you have the `posix_spawn' function. */ 212 #cmakedefine HAVE_POSIX_SPAWN ${HAVE_POSIX_SPAWN} 213 214 /* Define to 1 if you have the `pread' function. */ 215 #cmakedefine HAVE_PREAD ${HAVE_PREAD} 216 217 /* Define if libtool can extract symbol lists from object files. */ 218 #undef HAVE_PRELOADED_SYMBOLS 219 220 /* Define to have the %a format string */ 221 #undef HAVE_PRINTF_A 222 223 /* Have pthread_getspecific */ 224 #cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC} 225 226 /* Define to 1 if you have the <pthread.h> header file. */ 227 #cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H} 228 229 /* Have pthread_mutex_lock */ 230 #cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK} 231 232 /* Have pthread_rwlock_init */ 233 #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT} 234 235 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */ 236 #cmakedefine HAVE_RAND48 ${HAVE_RAND48} 237 238 /* Define to 1 if you have the `readdir' function. */ 239 #cmakedefine HAVE_READDIR ${HAVE_READDIR} 240 241 /* Define to 1 if you have the `realpath' function. */ 242 #cmakedefine HAVE_REALPATH ${HAVE_REALPATH} 243 244 /* Define to 1 if you have the `sbrk' function. */ 245 #cmakedefine HAVE_SBRK ${HAVE_SBRK} 246 247 /* Define to 1 if you have the `setenv' function. */ 248 #cmakedefine HAVE_SETENV ${HAVE_SETENV} 249 250 /* Define to 1 if you have the `setjmp' function. */ 251 #cmakedefine HAVE_SETJMP ${HAVE_SETJMP} 252 253 /* Define to 1 if you have the `setrlimit' function. */ 254 #cmakedefine HAVE_SETRLIMIT ${HAVE_SETRLIMIT} 255 256 /* Define if you have the shl_load function. */ 257 #undef HAVE_SHL_LOAD 258 259 /* Define to 1 if you have the `siglongjmp' function. */ 260 #cmakedefine HAVE_SIGLONGJMP ${HAVE_SIGLONGJMP} 261 262 /* Define to 1 if you have the <signal.h> header file. */ 263 #cmakedefine HAVE_SIGNAL_H ${HAVE_SIGNAL_H} 264 265 /* Define to 1 if you have the `sigsetjmp' function. */ 266 #cmakedefine HAVE_SIGSETJMP ${HAVE_SIGSETJMP} 267 268 /* Define to 1 if you have the <stdint.h> header file. */ 269 #cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H} 270 271 /* Set to 1 if the std::isinf function is found in <cmath> */ 272 #undef HAVE_STD_ISINF_IN_CMATH 273 274 /* Set to 1 if the std::isnan function is found in <cmath> */ 275 #undef HAVE_STD_ISNAN_IN_CMATH 276 277 /* Define to 1 if you have the `strdup' function. */ 278 #cmakedefine HAVE_STRDUP ${HAVE_STRDUP} 279 280 /* Define to 1 if you have the `strerror' function. */ 281 #cmakedefine HAVE_STRERROR ${HAVE_STRERROR} 282 283 /* Define to 1 if you have the `strerror_r' function. */ 284 #cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R} 285 286 /* Define to 1 if you have the `strtoll' function. */ 287 #cmakedefine HAVE_STRTOLL ${HAVE_STRTOLL} 288 289 /* Define to 1 if you have the `strtoq' function. */ 290 #cmakedefine HAVE_STRTOQ ${HAVE_STRTOQ} 291 292 /* Define to 1 if you have the `sysconf' function. */ 293 #undef HAVE_SYSCONF 294 295 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 296 */ 297 #cmakedefine HAVE_SYS_DIR_H ${HAVE_SYS_DIR_H} 298 299 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 300 #cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H} 301 302 /* Define to 1 if you have the <sys/mman.h> header file. */ 303 #cmakedefine HAVE_SYS_MMAN_H ${} 304 305 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 306 */ 307 #cmakedefine HAVE_SYS_NDIR_H ${HAVE_SYS_NDIR_H} 308 309 /* Define to 1 if you have the <sys/param.h> header file. */ 310 #cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H} 311 312 /* Define to 1 if you have the <sys/resource.h> header file. */ 313 #cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H} 314 315 /* Define to 1 if you have the <sys/stat.h> header file. */ 316 #cmakedefine HAVE_SYS_STAT_H ${HAVE_SYS_STAT_H} 317 318 /* Define to 1 if you have the <sys/time.h> header file. */ 319 #cmakedefine HAVE_SYS_TIME_H ${HAVE_SYS_TIME_H} 320 321 /* Define to 1 if you have the <sys/types.h> header file. */ 322 #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H} 323 324 /* Define to 1 if you have the <sys/uio.h> header file. */ 325 #cmakedefine HAVE_SYS_UIO_H ${HAVE_SYS_UIO_H} 326 327 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 328 #cmakedefine HAVE_SYS_WAIT_H ${HAVE_SYS_WAIT_H} 329 330 /* Define if the setupterm() function is supported this platform. */ 331 #cmakedefine HAVE_TERMINFO ${HAVE_TERMINFO} 332 333 /* Define to 1 if you have the <termios.h> header file. */ 334 #cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H} 335 336 /* Define to 1 if the system has the type `uint64_t'. */ 337 #cmakedefine HAVE_UINT64_T ${HAVE_UINT64_T} 338 339 /* Define to 1 if you have the <unistd.h> header file. */ 340 #cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H} 341 342 /* Define to 1 if you have the <utime.h> header file. */ 343 #cmakedefine HAVE_UTIME_H ${HAVE_UTIME_H} 344 345 /* Define to 1 if the system has the type `u_int64_t'. */ 346 #cmakedefine HAVE_U_INT64_T ${HAVE_U_INT64_T} 347 348 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 349 #cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H} 350 351 /* Define to 1 if you have the `writev' function. */ 352 #cmakedefine HAVE_WRITEV ${HAVE_WRITEV} 353 354 /* Define to 1 if you have the <zlib.h> header file. */ 355 #cmakedefine HAVE_ZLIB_H ${HAVE_ZLIB_H} 356 357 /* Have host's _alloca */ 358 #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA} 359 360 /* Have host's __alloca */ 361 #cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA} 362 363 /* Have host's __ashldi3 */ 364 #cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3} 365 366 /* Have host's __ashrdi3 */ 367 #cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3} 368 369 /* Have host's __chkstk */ 370 #cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK} 371 372 /* Have host's __chkstk_ms */ 373 #cmakedefine HAVE___CHKSTK_MS ${HAVE___CHKSTK_MS} 374 375 /* Have host's __cmpdi2 */ 376 #cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2} 377 378 /* Have host's __divdi3 */ 379 #cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3} 380 381 /* Define to 1 if you have the `__dso_handle' function. */ 382 #undef HAVE___DSO_HANDLE 383 384 /* Have host's __fixdfdi */ 385 #cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI} 386 387 /* Have host's __fixsfdi */ 388 #cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI} 389 390 /* Have host's __floatdidf */ 391 #cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF} 392 393 /* Have host's __lshrdi3 */ 394 #cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3} 395 396 /* Have host's __main */ 397 #cmakedefine HAVE___MAIN ${HAVE___MAIN} 398 399 /* Have host's __moddi3 */ 400 #cmakedefine HAVE___MODDI3 ${HAVE___MODDI3} 401 402 /* Have host's __udivdi3 */ 403 #cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3} 404 405 /* Have host's __umoddi3 */ 406 #cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3} 407 408 /* Have host's ___chkstk */ 409 #cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK} 410 411 /* Have host's ___chkstk_ms */ 412 #cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS} 413 414 /* Define if we link Polly to the tools */ 415 #cmakedefine LINK_POLLY_INTO_TOOLS 416 417 /* Define if zlib compression is available */ 418 #cmakedefine01 LLVM_ENABLE_ZLIB 419 420 /* Define if the OS needs help to load dependent libraries for dlopen(). */ 421 #cmakedefine LTDL_DLOPEN_DEPLIBS ${LTDL_DLOPEN_DEPLIBS} 422 423 /* Define to the sub-directory in which libtool stores uninstalled libraries. 424 */ 425 #undef LTDL_OBJDIR 426 427 /* Define to the extension used for shared libraries, say, ".so". */ 428 #cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}" 429 430 /* Define to the system default library search path. */ 431 #cmakedefine LTDL_SYSSEARCHPATH "${LTDL_SYSSEARCHPATH}" 432 433 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if 434 its not necessary */ 435 #undef NEED_DEV_ZERO_FOR_MMAP 436 437 /* Define if dlsym() requires a leading underscore in symbol names. */ 438 #undef NEED_USCORE 439 440 /* Define to the address where bug reports for this package should be sent. */ 441 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}" 442 443 /* Define to the full name of this package. */ 444 #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}" 445 446 /* Define to the full name and version of this package. */ 447 #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}" 448 449 /* Define to the one symbol short name of this package. */ 450 #undef PACKAGE_TARNAME 451 452 /* Define to the version of this package. */ 453 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}" 454 455 /* Define as the return type of signal handlers (`int' or `void'). */ 456 #cmakedefine RETSIGTYPE ${RETSIGTYPE} 457 458 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 459 #undef STAT_MACROS_BROKEN 460 461 /* Define to 1 if you have the ANSI C header files. */ 462 #undef STDC_HEADERS 463 464 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 465 #undef TIME_WITH_SYS_TIME 466 467 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 468 #undef TM_IN_SYS_TIME 469 470 /* Type of 1st arg on ELM Callback */ 471 #cmakedefine WIN32_ELMCB_PCSTR ${WIN32_ELMCB_PCSTR} 472 473 /* Define to `int' if <sys/types.h> does not define. */ 474 #undef pid_t 475 476 /* Define to `unsigned int' if <sys/types.h> does not define. */ 477 #undef size_t 478 479 /* Define to a function replacing strtoll */ 480 #cmakedefine strtoll ${strtoll} 481 482 /* Define to a function implementing strtoull */ 483 #cmakedefine strtoull ${strtoull} 484 485 /* Define to a function implementing stricmp */ 486 #cmakedefine stricmp ${stricmp} 487 488 /* Define to a function implementing strdup */ 489 #cmakedefine strdup ${strdup} 490 491 /* Define to 1 if you have the `_chsize_s' function. */ 492 #cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S} 493 494 #endif 495