1 /* $FreeBSD$ */ 2 #ifndef CONFIG_H 3 #define CONFIG_H 4 5 /* Get __FreeBSD_version. */ 6 #include <osreldate.h> 7 8 /* Exported configuration */ 9 #include "llvm/Config/llvm-config.h" 10 11 /* Bug report URL. */ 12 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" 13 14 /* Define to 1 to enable backtraces, and to 0 otherwise. */ 15 #define ENABLE_BACKTRACES 0 16 17 /* Define to 1 to enable crash overrides, and to 0 otherwise. */ 18 #define ENABLE_CRASH_OVERRIDES 1 19 20 #if __FreeBSD_version >= 1000052 21 /* Define to 1 if you have the `backtrace' function. */ 22 #define HAVE_BACKTRACE TRUE 23 24 #define BACKTRACE_HEADER <execinfo.h> 25 #endif 26 27 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 28 /* #undef HAVE_CRASHREPORTERCLIENT_H */ 29 30 /* can use __crashreporter_info__ */ 31 #define HAVE_CRASHREPORTER_INFO 0 32 33 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you 34 don't. */ 35 #define HAVE_DECL_ARC4RANDOM 1 36 37 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you 38 don't. */ 39 #define HAVE_DECL_FE_ALL_EXCEPT 1 40 41 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you 42 don't. */ 43 #define HAVE_DECL_FE_INEXACT 1 44 45 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you 46 don't. */ 47 #define HAVE_DECL_STRERROR_S 0 48 49 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 50 #define LLVM_ENABLE_DIA_SDK 0 51 52 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 53 */ 54 #define HAVE_DIRENT_H 1 55 56 /* Define to 1 if you have the <dlfcn.h> header file. */ 57 #define HAVE_DLFCN_H 1 58 59 /* Define if dlopen() is available on this platform. */ 60 #define HAVE_DLOPEN 1 61 62 /* Define if dladdr() is available on this platform. */ 63 #define HAVE_DLADDR 1 64 65 /* Define to 1 if you have the <errno.h> header file. */ 66 #define HAVE_ERRNO_H 1 67 68 /* Define to 1 if you have the <fcntl.h> header file. */ 69 #define HAVE_FCNTL_H 1 70 71 /* Define to 1 if you have the <fenv.h> header file. */ 72 #define HAVE_FENV_H 1 73 74 /* Define if libffi is available on this platform. */ 75 /* #undef HAVE_FFI_CALL */ 76 77 /* Define to 1 if you have the <ffi/ffi.h> header file. */ 78 /* #undef HAVE_FFI_FFI_H */ 79 80 /* Define to 1 if you have the <ffi.h> header file. */ 81 /* #undef HAVE_FFI_H */ 82 83 /* Define to 1 if you have the `futimens' function. */ 84 #if __FreeBSD_version >= 1100056 85 #define HAVE_FUTIMENS 1 86 #endif 87 88 /* Define to 1 if you have the `futimes' function. */ 89 #define HAVE_FUTIMES 1 90 91 /* Define to 1 if you have the `getcwd' function. */ 92 #define HAVE_GETCWD 1 93 94 /* Define to 1 if you have the `getpagesize' function. */ 95 #define HAVE_GETPAGESIZE 1 96 97 /* Define to 1 if you have the `getrlimit' function. */ 98 #define HAVE_GETRLIMIT 1 99 100 /* Define to 1 if you have the `getrusage' function. */ 101 #define HAVE_GETRUSAGE 1 102 103 /* Define to 1 if you have the `gettimeofday' function. */ 104 #define HAVE_GETTIMEOFDAY 1 105 106 /* Define to 1 if the system has the type `int64_t'. */ 107 #define HAVE_INT64_T 1 108 109 /* Define to 1 if you have the <inttypes.h> header file. */ 110 #define HAVE_INTTYPES_H 1 111 112 /* Define to 1 if you have the `isatty' function. */ 113 #define HAVE_ISATTY 1 114 115 /* Define to 1 if you have the `edit' library (-ledit). */ 116 #define HAVE_LIBEDIT 1 117 118 /* Define to 1 if you have the `psapi' library (-lpsapi). */ 119 /* #undef HAVE_LIBPSAPI */ 120 121 /* Define to 1 if you have the `pthread' library (-lpthread). */ 122 #define HAVE_LIBPTHREAD 1 123 124 /* Define to 1 if you have the `pthread_getname_np' function. */ 125 /* #undef HAVE_PTHREAD_GETNAME_NP */ 126 127 /* Define to 1 if you have the `pthread_setname_np' function. */ 128 /* #undef HAVE_PTHREAD_SETNAME_NP */ 129 130 /* Define to 1 if you have the `shell32' library (-lshell32). */ 131 /* #undef HAVE_LIBSHELL32 */ 132 133 /* Define to 1 if you have the `z' library (-lz). */ 134 #define HAVE_LIBZ 1 135 136 /* Define to 1 if you have the <link.h> header file. */ 137 #define HAVE_LINK_H 1 138 139 /* Define to 1 if you have the `lseek64' function. */ 140 /* #undef HAVE_LSEEK64 */ 141 142 /* Define to 1 if you have the <mach/mach.h> header file. */ 143 /* #undef HAVE_MACH_MACH_H */ 144 145 /* Define to 1 if you have the `mallctl' function. */ 146 #define HAVE_MALLCTL 1 147 148 /* Define to 1 if you have the `mallinfo' function. */ 149 /* #undef HAVE_MALLINFO */ 150 151 /* Define to 1 if you have the <malloc.h> header file. */ 152 /* #undef HAVE_MALLOC_H */ 153 154 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 155 /* #undef HAVE_MALLOC_MALLOC_H */ 156 157 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 158 /* #undef HAVE_MALLOC_ZONE_STATISTICS */ 159 160 /* Define to 1 if you have the `mkdtemp' function. */ 161 #define HAVE_MKDTEMP 1 162 163 /* Define to 1 if you have the `mkstemp' function. */ 164 #define HAVE_MKSTEMP 1 165 166 /* Define to 1 if you have the `mktemp' function. */ 167 #define HAVE_MKTEMP 1 168 169 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 170 /* #undef HAVE_NDIR_H */ 171 172 /* Define to 1 if you have the `posix_fallocate' function. */ 173 #define HAVE_POSIX_FALLOCATE 1 174 175 /* Define to 1 if you have the `posix_spawn' function. */ 176 #define HAVE_POSIX_SPAWN 1 177 178 /* Define to 1 if you have the `pread' function. */ 179 #define HAVE_PREAD 1 180 181 /* Have pthread_getspecific */ 182 #define HAVE_PTHREAD_GETSPECIFIC 1 183 184 /* Define to 1 if you have the <pthread.h> header file. */ 185 #define HAVE_PTHREAD_H 1 186 187 /* Have pthread_mutex_lock */ 188 #define HAVE_PTHREAD_MUTEX_LOCK 1 189 190 /* Have pthread_rwlock_init */ 191 #define HAVE_PTHREAD_RWLOCK_INIT 1 192 193 /* Define to 1 if you have the `realpath' function. */ 194 #define HAVE_REALPATH 1 195 196 /* Define to 1 if you have the `sbrk' function. */ 197 #define HAVE_SBRK 1 198 199 /* Define to 1 if you have the `setenv' function. */ 200 #define HAVE_SETENV 1 201 202 /* Define to 1 if you have the `sched_getaffinity' function. */ 203 /* #undef HAVE_SCHED_GETAFFINITY */ 204 205 /* Define to 1 if you have the `CPU_COUNT' macro. */ 206 /* #undef HAVE_CPU_COUNT */ 207 208 /* Define to 1 if you have the `setrlimit' function. */ 209 #define HAVE_SETRLIMIT 1 210 211 /* Define to 1 if you have the `sigaltstack' function. */ 212 #define HAVE_SIGALTSTACK 1 213 214 /* Define to 1 if you have the <signal.h> header file. */ 215 #define HAVE_SIGNAL_H 1 216 217 /* Define to 1 if you have the <stdint.h> header file. */ 218 #define HAVE_STDINT_H 1 219 220 /* Define to 1 if you have the `strerror' function. */ 221 #define HAVE_STRERROR 1 222 223 /* Define to 1 if you have the `strerror_r' function. */ 224 #define HAVE_STRERROR_R 1 225 226 /* Define to 1 if you have the `strtoll' function. */ 227 #define HAVE_STRTOLL 1 228 229 /* Define to 1 if you have the `sysconf' function. */ 230 #define HAVE_SYSCONF 1 231 232 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 233 */ 234 #define HAVE_SYS_DIR_H 1 235 236 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 237 #define HAVE_SYS_IOCTL_H 1 238 239 /* Define to 1 if you have the <sys/mman.h> header file. */ 240 #define HAVE_SYS_MMAN_H 1 241 242 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 243 */ 244 /* #undef HAVE_SYS_NDIR_H */ 245 246 /* Define to 1 if you have the <sys/param.h> header file. */ 247 #define HAVE_SYS_PARAM_H 1 248 249 /* Define to 1 if you have the <sys/resource.h> header file. */ 250 #define HAVE_SYS_RESOURCE_H 1 251 252 /* Define to 1 if you have the <sys/stat.h> header file. */ 253 #define HAVE_SYS_STAT_H 1 254 255 /* Define to 1 if you have the <sys/time.h> header file. */ 256 #define HAVE_SYS_TIME_H 1 257 258 /* Define to 1 if you have the <sys/types.h> header file. */ 259 #define HAVE_SYS_TYPES_H 1 260 261 /* Define to 1 if you have the <sys/uio.h> header file. */ 262 #define HAVE_SYS_UIO_H 1 263 264 /* Define if the setupterm() function is supported this platform. */ 265 #define HAVE_TERMINFO 1 266 267 /* Define if the xar_open() function is supported this platform. */ 268 /* #undef HAVE_LIBXAR */ 269 270 /* Define to 1 if you have the <termios.h> header file. */ 271 #define HAVE_TERMIOS_H 1 272 273 /* Define to 1 if the system has the type `uint64_t'. */ 274 #define HAVE_UINT64_T 1 275 276 /* Define to 1 if you have the <unistd.h> header file. */ 277 #define HAVE_UNISTD_H 1 278 279 /* Define to 1 if the system has the type `u_int64_t'. */ 280 #define HAVE_U_INT64_T 1 281 282 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 283 /* #undef HAVE_VALGRIND_VALGRIND_H */ 284 285 /* Define to 1 if you have the `writev' function. */ 286 #define HAVE_WRITEV 1 287 288 /* Define to 1 if you have the <zlib.h> header file. */ 289 #define HAVE_ZLIB_H 1 290 291 /* Have host's _alloca */ 292 /* #undef HAVE__ALLOCA */ 293 294 /* Define to 1 if you have the `_chsize_s' function. */ 295 /* #undef HAVE__CHSIZE_S */ 296 297 /* Define to 1 if you have the `_Unwind_Backtrace' function. */ 298 /* #undef HAVE__UNWIND_BACKTRACE */ 299 300 /* Have host's __alloca */ 301 /* #undef HAVE___ALLOCA */ 302 303 /* Have host's __ashldi3 */ 304 /* #undef HAVE___ASHLDI3 */ 305 306 /* Have host's __ashrdi3 */ 307 /* #undef HAVE___ASHRDI3 */ 308 309 /* Have host's __chkstk */ 310 /* #undef HAVE___CHKSTK */ 311 312 /* Have host's __chkstk_ms */ 313 /* #undef HAVE___CHKSTK_MS */ 314 315 /* Have host's __cmpdi2 */ 316 /* #undef HAVE___CMPDI2 */ 317 318 /* Have host's __divdi3 */ 319 /* #undef HAVE___DIVDI3 */ 320 321 /* Have host's __fixdfdi */ 322 /* #undef HAVE___FIXDFDI */ 323 324 /* Have host's __fixsfdi */ 325 /* #undef HAVE___FIXSFDI */ 326 327 /* Have host's __floatdidf */ 328 /* #undef HAVE___FLOATDIDF */ 329 330 /* Have host's __lshrdi3 */ 331 /* #undef HAVE___LSHRDI3 */ 332 333 /* Have host's __main */ 334 /* #undef HAVE___MAIN */ 335 336 /* Have host's __moddi3 */ 337 /* #undef HAVE___MODDI3 */ 338 339 /* Have host's __udivdi3 */ 340 /* #undef HAVE___UDIVDI3 */ 341 342 /* Have host's __umoddi3 */ 343 /* #undef HAVE___UMODDI3 */ 344 345 /* Have host's ___chkstk */ 346 /* #undef HAVE____CHKSTK */ 347 348 /* Have host's ___chkstk_ms */ 349 /* #undef HAVE____CHKSTK_MS */ 350 351 /* Linker version detected at compile time. */ 352 /* #undef HOST_LINK_VERSION */ 353 354 /* Define if we link Polly to the tools */ 355 /* #undef LINK_POLLY_INTO_TOOLS */ 356 357 /* Target triple LLVM will generate code for by default */ 358 /* Doesn't use `cmakedefine` because it is allowed to be empty. */ 359 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */ 360 361 /* Define if threads enabled */ 362 #define LLVM_ENABLE_THREADS 1 363 364 /* Define if zlib compression is available */ 365 #define LLVM_ENABLE_ZLIB 1 366 367 /* Has gcc/MSVC atomic intrinsics */ 368 #define LLVM_HAS_ATOMICS 1 369 370 /* Host triple LLVM will be executed on */ 371 /* #undef LLVM_HOST_TRIPLE */ 372 373 /* Define if this is Unixish platform */ 374 #define LLVM_ON_UNIX 1 375 376 /* Define if this is Win32ish platform */ 377 /* #undef LLVM_ON_WIN32 */ 378 379 /* Define if overriding target triple is enabled */ 380 /* #undef LLVM_TARGET_TRIPLE_ENV */ 381 382 /* Define if we have the Intel JIT API runtime support library */ 383 #define LLVM_USE_INTEL_JITEVENTS 0 384 385 /* Define if we have the oprofile JIT-support library */ 386 #define LLVM_USE_OPROFILE 0 387 388 /* LLVM version information */ 389 /* #undef LLVM_VERSION_INFO */ 390 391 /* Whether tools show host and target info when invoked with --version */ 392 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1 393 394 /* Major version of the LLVM API */ 395 #define LLVM_VERSION_MAJOR 6 396 397 /* Minor version of the LLVM API */ 398 #define LLVM_VERSION_MINOR 0 399 400 /* Patch version of the LLVM API */ 401 #define LLVM_VERSION_PATCH 0 402 403 /* LLVM version string */ 404 #define LLVM_VERSION_STRING "6.0.0" 405 406 /* Define if libxml2 is supported on this platform. */ 407 /* #undef LLVM_LIBXML2_ENABLED */ 408 409 /* Define to the extension used for shared libraries, say, ".so". */ 410 #define LTDL_SHLIB_EXT ".so" 411 412 /* Define to the address where bug reports for this package should be sent. */ 413 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/" 414 415 /* Define to the full name of this package. */ 416 #define PACKAGE_NAME "LLVM" 417 418 /* Define to the full name and version of this package. */ 419 #define PACKAGE_STRING "LLVM 6.0.0" 420 421 /* Define to the one symbol short name of this package. */ 422 #undef PACKAGE_TARNAME 423 424 /* Define to the version of this package. */ 425 #define PACKAGE_VERSION "6.0.0" 426 427 /* Define to the vendor of this package. */ 428 /* #undef PACKAGE_VENDOR */ 429 430 /* Define as the return type of signal handlers (`int' or `void'). */ 431 #define RETSIGTYPE void 432 433 /* Define to a function replacing strtoll */ 434 /* #undef strtoll */ 435 436 /* Define to a function implementing strtoull */ 437 /* #undef strtoull */ 438 439 /* Define to a function implementing stricmp */ 440 /* #undef stricmp */ 441 442 /* Define to a function implementing strdup */ 443 /* #undef strdup */ 444 445 /* Whether GlobalISel rule coverage is being collected */ 446 #define LLVM_GISEL_COV_ENABLED 0 447 448 /* Define to the default GlobalISel coverage file prefix */ 449 /* #undef LLVM_GISEL_COV_PREFIX */ 450 451 #endif 452