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