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 "http://llvm.org/bugs/" 11 12 /* Define if you want backtraces on crash */ 13 #define ENABLE_BACKTRACES 14 15 /* Define to enable crash overrides */ 16 #define ENABLE_CRASH_OVERRIDES 17 18 /* Define to disable C++ atexit */ 19 #define DISABLE_LLVM_DYLIB_ATEXIT 20 21 /* Define if position independent code is enabled */ 22 #define ENABLE_PIC 23 24 /* Define if timestamp information (e.g., __DATE__) is allowed */ 25 #define ENABLE_TIMESTAMPS 1 26 27 /* Define to 1 if you have the `arc4random' function. */ 28 #define HAVE_DECL_ARC4RANDOM 1 29 30 /* Define to 1 if you have the `backtrace' function. */ 31 /* #undef 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 #define HAVE_CLOSEDIR 1 38 39 /* Define to 1 if you have the <cxxabi.h> header file. */ 40 #define HAVE_CXXABI_H 1 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 #define HAVE_DECL_STRERROR_S 0 51 52 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 53 /* #undef HAVE_DIA_SDK */ 54 55 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 56 */ 57 #define HAVE_DIRENT_H 1 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 #define HAVE_DLERROR 1 64 65 /* Define to 1 if you have the <dlfcn.h> header file. */ 66 #define HAVE_DLFCN_H 1 67 68 /* Define if dlopen() is available on this platform. */ 69 #define HAVE_DLOPEN 1 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 #define HAVE_ERRNO_H 1 76 77 /* Define to 1 if you have the <execinfo.h> header file. */ 78 /* #define HAVE_EXECINFO_H 1 */ 79 80 /* Define to 1 if you have the <fcntl.h> header file. */ 81 #define HAVE_FCNTL_H 1 82 83 /* Define to 1 if you have the <fenv.h> header file. */ 84 #define HAVE_FENV_H 1 85 86 /* Define if libffi is available on this platform. */ 87 /* #undef HAVE_FFI_CALL */ 88 89 /* Define to 1 if you have the <ffi/ffi.h> header file. */ 90 /* #undef HAVE_FFI_FFI_H */ 91 92 /* Define to 1 if you have the <ffi.h> header file. */ 93 /* #undef HAVE_FFI_H */ 94 95 /* Define to 1 if you have the `futimes' function. */ 96 #define HAVE_FUTIMES 1 97 98 /* Define to 1 if you have the `futimens' function */ 99 #define HAVE_FUTIMENS 1 100 101 /* Define to 1 if you have the `getcwd' function. */ 102 #define HAVE_GETCWD 1 103 104 /* Define to 1 if you have the `getpagesize' function. */ 105 #define HAVE_GETPAGESIZE 1 106 107 /* Define to 1 if you have the `getrlimit' function. */ 108 #define HAVE_GETRLIMIT 1 109 110 /* Define to 1 if you have the `getrusage' function. */ 111 #define HAVE_GETRUSAGE 1 112 113 /* Define to 1 if you have the `gettimeofday' function. */ 114 #define HAVE_GETTIMEOFDAY 1 115 116 /* Define to 1 if the system has the type `int64_t'. */ 117 #define HAVE_INT64_T 1 118 119 /* Define to 1 if you have the <inttypes.h> header file. */ 120 #define HAVE_INTTYPES_H 1 121 122 /* Define to 1 if you have the `isatty' function. */ 123 #define HAVE_ISATTY 1 124 125 /* Define if you have the libdl library or equivalent. */ 126 /* #undef HAVE_LIBDL */ 127 128 /* Define to 1 if you have the `m' library (-lm). */ 129 #undef HAVE_LIBM 130 131 /* Define to 1 if you have the `ole32' library (-lole32). */ 132 #undef HAVE_LIBOLE32 133 134 /* Define to 1 if you have the `psapi' library (-lpsapi). */ 135 /* #undef HAVE_LIBPSAPI */ 136 137 /* Define to 1 if you have the `pthread' library (-lpthread). */ 138 #define HAVE_LIBPTHREAD 1 139 140 /* Define to 1 if you have the `shell32' library (-lshell32). */ 141 /* #undef HAVE_LIBSHELL32 */ 142 143 /* Define to 1 if you have the 'z' library (-lz). */ 144 #define HAVE_LIBZ 1 145 146 /* Define to 1 if you have the 'edit' library (-ledit). */ 147 /* #undef HAVE_LIBEDIT */ 148 149 /* Define to 1 if you have the <limits.h> header file. */ 150 #define HAVE_LIMITS_H 1 151 152 /* Define to 1 if you have the <link.h> header file. */ 153 /* #undef 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 /* #undef HAVE_LONGJMP */ 164 165 /* Define to 1 if you have the <mach/mach.h> header file. */ 166 /* #undef HAVE_MACH_MACH_H */ 167 168 /* Define to 1 if you have the <mach-o/dyld.h> header file. */ 169 /* #undef HAVE_MACH_O_DYLD_H */ 170 171 /* Define if mallinfo() is available on this platform. */ 172 /* #undef HAVE_MALLINFO */ 173 174 /* Define to 1 if you have the <malloc.h> header file. */ 175 #define HAVE_MALLOC_H 1 176 177 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 178 /* #undef HAVE_MALLOC_MALLOC_H */ 179 180 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 181 /* #undef HAVE_MALLOC_ZONE_STATISTICS */ 182 183 /* Define to 1 if you have the `mallctl` function. */ 184 /* #undef HAVE_MALLCTL */ 185 186 /* Define to 1 if you have the `mkdtemp' function. */ 187 #define HAVE_MKDTEMP 1 188 189 /* Define to 1 if you have the `mkstemp' function. */ 190 #define HAVE_MKSTEMP 1 191 192 /* Define to 1 if you have the `mktemp' function. */ 193 #define HAVE_MKTEMP 1 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 /* #undef HAVE_NDIR_H */ 207 208 /* Define to 1 if you have the `opendir' function. */ 209 #define HAVE_OPENDIR 1 210 211 /* Define to 1 if you have the `posix_spawn' function. */ 212 #define HAVE_POSIX_SPAWN 1 213 214 /* Define to 1 if you have the `pread' function. */ 215 #define HAVE_PREAD 1 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 #define HAVE_PTHREAD_GETSPECIFIC 1 225 226 /* Define to 1 if you have the <pthread.h> header file. */ 227 #define HAVE_PTHREAD_H 1 228 229 /* Have pthread_mutex_lock */ 230 #define HAVE_PTHREAD_MUTEX_LOCK 1 231 232 /* Have pthread_rwlock_init */ 233 #define HAVE_PTHREAD_RWLOCK_INIT 1 234 235 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */ 236 #define HAVE_RAND48 1 237 238 /* Define to 1 if you have the `readdir' function. */ 239 #define HAVE_READDIR 1 240 241 /* Define to 1 if you have the `realpath' function. */ 242 #define HAVE_REALPATH 1 243 244 /* Define to 1 if you have the `sbrk' function. */ 245 #define HAVE_SBRK 1 246 247 /* Define to 1 if you have the `setenv' function. */ 248 #define HAVE_SETENV 1 249 250 /* Define to 1 if you have the `setjmp' function. */ 251 /* #undef HAVE_SETJMP */ 252 253 /* Define to 1 if you have the `setrlimit' function. */ 254 #define HAVE_SETRLIMIT 1 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 /* #undef HAVE_SIGLONGJMP */ 261 262 /* Define to 1 if you have the <signal.h> header file. */ 263 #define HAVE_SIGNAL_H 1 264 265 /* Define to 1 if you have the `sigsetjmp' function. */ 266 /* #undef HAVE_SIGSETJMP */ 267 268 /* Define to 1 if you have the <stdint.h> header file. */ 269 #define HAVE_STDINT_H 1 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 /* #undef HAVE_STRDUP */ 279 280 /* Define to 1 if you have the `strerror' function. */ 281 #define HAVE_STRERROR 1 282 283 /* Define to 1 if you have the `strerror_r' function. */ 284 #define HAVE_STRERROR_R 1 285 286 /* Define to 1 if you have the `strtoll' function. */ 287 #define HAVE_STRTOLL 1 288 289 /* Define to 1 if you have the `strtoq' function. */ 290 #define HAVE_STRTOQ 1 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 #define HAVE_SYS_DIR_H 1 298 299 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 300 #define HAVE_SYS_IOCTL_H 1 301 302 /* Define to 1 if you have the <sys/mman.h> header file. */ 303 #define HAVE_SYS_MMAN_H 304 305 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 306 */ 307 /* #undef HAVE_SYS_NDIR_H */ 308 309 /* Define to 1 if you have the <sys/param.h> header file. */ 310 #define HAVE_SYS_PARAM_H 1 311 312 /* Define to 1 if you have the <sys/resource.h> header file. */ 313 #define HAVE_SYS_RESOURCE_H 1 314 315 /* Define to 1 if you have the <sys/stat.h> header file. */ 316 #define HAVE_SYS_STAT_H 1 317 318 /* Define to 1 if you have the <sys/time.h> header file. */ 319 #define HAVE_SYS_TIME_H 1 320 321 /* Define to 1 if you have the <sys/types.h> header file. */ 322 /* #undef HAVE_SYS_TYPES_H */ 323 324 /* Define to 1 if you have the <sys/uio.h> header file. */ 325 #define HAVE_SYS_UIO_H 1 326 327 /* Define if the setupterm() function is supported this platform. */ 328 #define HAVE_TERMINFO 1 329 330 /* Define to 1 if you have the <termios.h> header file. */ 331 #define HAVE_TERMIOS_H 1 332 333 /* Define to 1 if the system has the type `uint64_t'. */ 334 #define HAVE_UINT64_T 1 335 336 /* Define to 1 if you have the <unistd.h> header file. */ 337 #define HAVE_UNISTD_H 1 338 339 /* Define to 1 if you have the <utime.h> header file. */ 340 #define HAVE_UTIME_H 1 341 342 /* Define to 1 if the system has the type `u_int64_t'. */ 343 #define HAVE_U_INT64_T 1 344 345 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 346 /* #define HAVE_VALGRIND_VALGRIND_H 1 */ 347 348 /* Define to 1 if you have the `writev' function. */ 349 #define HAVE_WRITEV 1 350 351 /* Define to 1 if you have the <zlib.h> header file. */ 352 #define HAVE_ZLIB_H 1 353 354 /* Have host's _alloca */ 355 /* #undef HAVE__ALLOCA */ 356 357 /* Have host's __alloca */ 358 /* #undef HAVE___ALLOCA */ 359 360 /* Have host's __ashldi3 */ 361 /* #undef HAVE___ASHLDI3 */ 362 363 /* Have host's __ashrdi3 */ 364 /* #undef HAVE___ASHRDI3 */ 365 366 /* Have host's __chkstk */ 367 /* #undef HAVE___CHKSTK */ 368 369 /* Have host's __chkstk_ms */ 370 /* #undef HAVE___CHKSTK_MS */ 371 372 /* Have host's __cmpdi2 */ 373 /* #undef HAVE___CMPDI2 */ 374 375 /* Have host's __divdi3 */ 376 /* #undef HAVE___DIVDI3 */ 377 378 /* Define to 1 if you have the `__dso_handle' function. */ 379 #undef HAVE___DSO_HANDLE 380 381 /* Have host's __fixdfdi */ 382 /* #undef HAVE___FIXDFDI */ 383 384 /* Have host's __fixsfdi */ 385 /* #undef HAVE___FIXSFDI */ 386 387 /* Have host's __floatdidf */ 388 /* #undef HAVE___FLOATDIDF */ 389 390 /* Have host's __lshrdi3 */ 391 /* #undef HAVE___LSHRDI3 */ 392 393 /* Have host's __main */ 394 /* #undef HAVE___MAIN */ 395 396 /* Have host's __moddi3 */ 397 /* #undef HAVE___MODDI3 */ 398 399 /* Have host's __udivdi3 */ 400 /* #undef HAVE___UDIVDI3 */ 401 402 /* Have host's __umoddi3 */ 403 /* #undef HAVE___UMODDI3 */ 404 405 /* Have host's ___chkstk */ 406 /* #undef HAVE____CHKSTK */ 407 408 /* Have host's ___chkstk_ms */ 409 /* #undef HAVE____CHKSTK_MS */ 410 411 /* Linker version detected at compile time. */ 412 #undef HOST_LINK_VERSION 413 414 /* Installation directory for binary executables */ 415 /* #undef LLVM_BINDIR */ 416 417 /* Time at which LLVM was configured */ 418 /* #undef LLVM_CONFIGTIME */ 419 420 /* Installation directory for data files */ 421 /* #undef LLVM_DATADIR */ 422 423 /* Target triple LLVM will generate code for by default 424 * Doesn't use `cmakedefine` because it is allowed to be empty. 425 */ 426 /* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.0" */ 427 428 /* Installation directory for documentation */ 429 /* #undef LLVM_DOCSDIR */ 430 431 /* Define if LLVM is built with asserts and checks that change the layout of 432 client-visible data structures. */ 433 /* #undef LLVM_ENABLE_ABI_BREAKING_CHECKS */ 434 435 /* Define if threads enabled */ 436 /* #define LLVM_ENABLE_THREADS 1 */ 437 438 /* Define if zlib compression is available */ 439 /* #define LLVM_ENABLE_ZLIB 1 */ 440 441 /* Installation directory for config files */ 442 /* #undef LLVM_ETCDIR */ 443 444 /* Has gcc/MSVC atomic intrinsics */ 445 /* #define LLVM_HAS_ATOMICS 1 */ 446 447 /* Host triple LLVM will be executed on */ 448 /* #define LLVM_HOST_TRIPLE "amd64-unknown-openbsd6.0" */ 449 450 /* Installation directory for include files */ 451 /* #undef LLVM_INCLUDEDIR */ 452 453 /* Installation directory for .info files */ 454 /* #undef LLVM_INFODIR */ 455 456 /* Installation directory for man pages */ 457 /* #undef LLVM_MANDIR */ 458 459 /* LLVM architecture name for the native architecture, if available */ 460 /* #define LLVM_NATIVE_ARCH X86 */ 461 462 /* LLVM name for the native AsmParser init function, if available */ 463 /* #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser */ 464 465 /* LLVM name for the native AsmPrinter init function, if available */ 466 /* #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter */ 467 468 /* LLVM name for the native Disassembler init function, if available */ 469 /* #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler */ 470 471 /* LLVM name for the native Target init function, if available */ 472 /* #define LLVM_NATIVE_TARGET LLVMInitializeX86Target */ 473 474 /* LLVM name for the native TargetInfo init function, if available */ 475 /* #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo */ 476 477 /* LLVM name for the native target MC init function, if available */ 478 /* #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC */ 479 480 /* Define if this is Unixish platform */ 481 #define LLVM_ON_UNIX 1 482 483 /* Define if this is Win32ish platform */ 484 /* #undef LLVM_ON_WIN32 */ 485 486 /* Installation prefix directory */ 487 /* #define LLVM_PREFIX "/usr/local" */ 488 489 /* Define if we have the Intel JIT API runtime support library */ 490 /* #undef LLVM_USE_INTEL_JITEVENTS */ 491 492 /* Define if we have the oprofile JIT-support library */ 493 /* #undef LLVM_USE_OPROFILE */ 494 495 /* Major version of the LLVM API */ 496 #define LLVM_VERSION_MAJOR 3 497 498 /* Minor version of the LLVM API */ 499 #define LLVM_VERSION_MINOR 8 500 501 /* Patch version of the LLVM API */ 502 #define LLVM_VERSION_PATCH 1 503 504 /* LLVM version string */ 505 #define LLVM_VERSION_STRING "3.8.1" 506 507 /* Define if we link Polly to the tools */ 508 /* #undef LINK_POLLY_INTO_TOOLS */ 509 510 /* Define if the OS needs help to load dependent libraries for dlopen(). */ 511 /* #undef LTDL_DLOPEN_DEPLIBS */ 512 513 /* Define to the sub-directory in which libtool stores uninstalled libraries. 514 */ 515 #undef LTDL_OBJDIR 516 517 /* Define to the extension used for shared libraries, say, ".so". */ 518 #define LTDL_SHLIB_EXT ".so" 519 520 /* Define to the system default library search path. */ 521 /* #undef LTDL_SYSSEARCHPATH */ 522 523 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if 524 its not necessary */ 525 #undef NEED_DEV_ZERO_FOR_MMAP 526 527 /* Define if dlsym() requires a leading underscore in symbol names. */ 528 #undef NEED_USCORE 529 530 /* Define to the address where bug reports for this package should be sent. */ 531 #define PACKAGE_BUGREPORT "http://llvm.org/bugs/" 532 533 /* Define to the full name of this package. */ 534 #define PACKAGE_NAME "LLVM" 535 536 /* Define to the full name and version of this package. */ 537 #define PACKAGE_STRING "LLVM 3.8.1" 538 539 /* Define to the one symbol short name of this package. */ 540 #undef PACKAGE_TARNAME 541 542 /* Define to the version of this package. */ 543 #define PACKAGE_VERSION "3.8.1" 544 545 /* Define as the return type of signal handlers (`int' or `void'). */ 546 #define RETSIGTYPE void 547 548 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 549 #undef STAT_MACROS_BROKEN 550 551 /* Define to 1 if you have the ANSI C header files. */ 552 #undef STDC_HEADERS 553 554 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 555 #undef TIME_WITH_SYS_TIME 556 557 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 558 #undef TM_IN_SYS_TIME 559 560 /* Type of 1st arg on ELM Callback */ 561 /* #undef WIN32_ELMCB_PCSTR */ 562 563 /* Define to `int' if <sys/types.h> does not define. */ 564 #undef pid_t 565 566 /* Define to `unsigned int' if <sys/types.h> does not define. */ 567 #undef size_t 568 569 /* Define to a function replacing strtoll */ 570 /* #undef strtoll */ 571 572 /* Define to a function implementing strtoull */ 573 /* #undef strtoull */ 574 575 /* Define to a function implementing stricmp */ 576 /* #undef stricmp */ 577 578 /* Define to a function implementing strdup */ 579 /* #undef strdup */ 580 581 /* Define to 1 if you have the `_chsize_s' function. */ 582 /* #undef HAVE__CHSIZE_S */ 583 584 #endif 585