1 #ifndef __GHCAUTOCONF_H__ 2 #define __GHCAUTOCONF_H__ 3 /* mk/config.h. Generated from config.h.in by configure. */ 4 /* mk/config.h.in. Generated from configure.ac by autoheader. */ 5 6 /* Define if building universal (internal helper macro) */ 7 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 8 9 /* The alignment of a `char'. */ 10 #define ALIGNMENT_CHAR 1 11 12 /* The alignment of a `double'. */ 13 #define ALIGNMENT_DOUBLE 8 14 15 /* The alignment of a `float'. */ 16 #define ALIGNMENT_FLOAT 4 17 18 /* The alignment of a `int'. */ 19 #define ALIGNMENT_INT 4 20 21 /* The alignment of a `int16_t'. */ 22 #define ALIGNMENT_INT16_T 2 23 24 /* The alignment of a `int32_t'. */ 25 #define ALIGNMENT_INT32_T 4 26 27 /* The alignment of a `int64_t'. */ 28 #define ALIGNMENT_INT64_T 8 29 30 /* The alignment of a `int8_t'. */ 31 #define ALIGNMENT_INT8_T 1 32 33 /* The alignment of a `long'. */ 34 #define ALIGNMENT_LONG 8 35 36 /* The alignment of a `long long'. */ 37 #define ALIGNMENT_LONG_LONG 8 38 39 /* The alignment of a `short'. */ 40 #define ALIGNMENT_SHORT 2 41 42 /* The alignment of a `uint16_t'. */ 43 #define ALIGNMENT_UINT16_T 2 44 45 /* The alignment of a `uint32_t'. */ 46 #define ALIGNMENT_UINT32_T 4 47 48 /* The alignment of a `uint64_t'. */ 49 #define ALIGNMENT_UINT64_T 8 50 51 /* The alignment of a `uint8_t'. */ 52 #define ALIGNMENT_UINT8_T 1 53 54 /* The alignment of a `unsigned char'. */ 55 #define ALIGNMENT_UNSIGNED_CHAR 1 56 57 /* The alignment of a `unsigned int'. */ 58 #define ALIGNMENT_UNSIGNED_INT 4 59 60 /* The alignment of a `unsigned long'. */ 61 #define ALIGNMENT_UNSIGNED_LONG 8 62 63 /* The alignment of a `unsigned long long'. */ 64 #define ALIGNMENT_UNSIGNED_LONG_LONG 8 65 66 /* The alignment of a `unsigned short'. */ 67 #define ALIGNMENT_UNSIGNED_SHORT 2 68 69 /* The alignment of a `void *'. */ 70 #define ALIGNMENT_VOID_P 8 71 72 /* Define to 1 if __thread is supported */ 73 #define CC_SUPPORTS_TLS 1 74 75 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 76 systems. This function is required for `alloca.c' support on those systems. 77 */ 78 /* #undef CRAY_STACKSEG_END */ 79 80 /* Define to 1 if using `alloca.c'. */ 81 /* #undef C_ALLOCA */ 82 83 /* Define to 1 if your processor stores words of floats with the most 84 significant byte first */ 85 /* #undef FLOAT_WORDS_BIGENDIAN */ 86 87 /* Has visibility hidden */ 88 #define HAS_VISIBILITY_HIDDEN 1 89 90 /* Define to 1 if you have `alloca', as a function or macro. */ 91 #define HAVE_ALLOCA 1 92 93 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 94 */ 95 #define HAVE_ALLOCA_H 1 96 97 /* Define to 1 if you have the <bfd.h> header file. */ 98 /* #undef HAVE_BFD_H */ 99 100 /* Does GCC support __atomic primitives? */ 101 #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS 102 103 /* Define to 1 if you have the `clock_gettime' function. */ 104 #define HAVE_CLOCK_GETTIME 1 105 106 /* Define to 1 if you have the `ctime_r' function. */ 107 #define HAVE_CTIME_R 1 108 109 /* Define to 1 if you have the <ctype.h> header file. */ 110 #define HAVE_CTYPE_H 1 111 112 /* Define to 1 if you have the declaration of `ctime_r', and to 0 if you 113 don't. */ 114 #define HAVE_DECL_CTIME_R 1 115 116 /* Define to 1 if you have the declaration of `MADV_DONTNEED', and to 0 if you 117 don't. */ 118 #define HAVE_DECL_MADV_DONTNEED 1 119 120 /* Define to 1 if you have the declaration of `MADV_FREE', and to 0 if you 121 don't. */ 122 #define HAVE_DECL_MADV_FREE 1 123 124 /* Define to 1 if you have the declaration of `MAP_NORESERVE', and to 0 if you 125 don't. */ 126 #define HAVE_DECL_MAP_NORESERVE 1 127 128 /* Define to 1 if you have the <dirent.h> header file. */ 129 #define HAVE_DIRENT_H 1 130 131 /* Define to 1 if you have the <dlfcn.h> header file. */ 132 #define HAVE_DLFCN_H 1 133 134 /* Define to 1 if you have the <errno.h> header file. */ 135 #define HAVE_ERRNO_H 1 136 137 /* Define to 1 if you have the `eventfd' function. */ 138 /* #undef HAVE_EVENTFD */ 139 140 /* Define to 1 if you have the <fcntl.h> header file. */ 141 #define HAVE_FCNTL_H 1 142 143 /* Define to 1 if you have the <ffi.h> header file. */ 144 /* #undef HAVE_FFI_H */ 145 146 /* Define to 1 if you have the `fork' function. */ 147 #define HAVE_FORK 1 148 149 /* Define to 1 if you have the `getclock' function. */ 150 /* #undef HAVE_GETCLOCK */ 151 152 /* Define to 1 if you have the `GetModuleFileName' function. */ 153 /* #undef HAVE_GETMODULEFILENAME */ 154 155 /* Define to 1 if you have the `getrusage' function. */ 156 #define HAVE_GETRUSAGE 1 157 158 /* Define to 1 if you have the `gettimeofday' function. */ 159 #define HAVE_GETTIMEOFDAY 1 160 161 /* Define to 1 if you have the <grp.h> header file. */ 162 #define HAVE_GRP_H 1 163 164 /* Define to 1 if you have the <inttypes.h> header file. */ 165 #define HAVE_INTTYPES_H 1 166 167 /* Define to 1 if you have the `bfd' library (-lbfd). */ 168 /* #undef HAVE_LIBBFD */ 169 170 /* Define to 1 if you have the `dl' library (-ldl). */ 171 #define HAVE_LIBDL 1 172 173 /* Define to 1 if you have libffi. */ 174 /* #undef HAVE_LIBFFI */ 175 176 /* Define to 1 if you have the `iberty' library (-liberty). */ 177 /* #undef HAVE_LIBIBERTY */ 178 179 /* Define to 1 if you need to link with libm */ 180 #define HAVE_LIBM 1 181 182 /* Define to 1 if you have libnuma */ 183 #define HAVE_LIBNUMA 0 184 185 /* Define to 1 if you have the `pthread' library (-lpthread). */ 186 /* #undef HAVE_LIBPTHREAD */ 187 188 /* Define to 1 if you have the `rt' library (-lrt). */ 189 #define HAVE_LIBRT 1 190 191 /* Define to 1 if you have the <limits.h> header file. */ 192 #define HAVE_LIMITS_H 1 193 194 /* Define to 1 if you have the <locale.h> header file. */ 195 #define HAVE_LOCALE_H 1 196 197 /* Define to 1 if the system has the type `long long'. */ 198 #define HAVE_LONG_LONG 1 199 200 /* Define to 1 if you have the <memory.h> header file. */ 201 #define HAVE_MEMORY_H 1 202 203 /* Define to 1 if you have the mingwex library. */ 204 /* #undef HAVE_MINGWEX */ 205 206 /* Define to 1 if you have the <nlist.h> header file. */ 207 #define HAVE_NLIST_H 1 208 209 /* Define to 1 if you have the <numaif.h> header file. */ 210 /* #undef HAVE_NUMAIF_H */ 211 212 /* Define to 1 if you have the <numa.h> header file. */ 213 /* #undef HAVE_NUMA_H */ 214 215 /* Define to 1 if we have printf$LDBLStub (Apple Mac OS >= 10.4, PPC). */ 216 #define HAVE_PRINTF_LDBLSTUB 0 217 218 /* Define to 1 if you have the <pthread.h> header file. */ 219 #define HAVE_PTHREAD_H 1 220 221 /* Define to 1 if you have the glibc version of pthread_setname_np */ 222 /* #undef HAVE_PTHREAD_SETNAME_NP */ 223 224 /* Define to 1 if you have the <pwd.h> header file. */ 225 #define HAVE_PWD_H 1 226 227 /* Define to 1 if you have the <sched.h> header file. */ 228 #define HAVE_SCHED_H 1 229 230 /* Define to 1 if you have the `sched_setaffinity' function. */ 231 #define HAVE_SCHED_SETAFFINITY 1 232 233 /* Define to 1 if you have the `setitimer' function. */ 234 #define HAVE_SETITIMER 1 235 236 /* Define to 1 if you have the `setlocale' function. */ 237 #define HAVE_SETLOCALE 1 238 239 /* Define to 1 if you have the `siginterrupt' function. */ 240 #define HAVE_SIGINTERRUPT 1 241 242 /* Define to 1 if you have the <signal.h> header file. */ 243 #define HAVE_SIGNAL_H 1 244 245 /* Define to 1 if you have the <stdint.h> header file. */ 246 #define HAVE_STDINT_H 1 247 248 /* Define to 1 if you have the <stdlib.h> header file. */ 249 #define HAVE_STDLIB_H 1 250 251 /* Define to 1 if you have the <strings.h> header file. */ 252 #define HAVE_STRINGS_H 1 253 254 /* Define to 1 if you have the <string.h> header file. */ 255 #define HAVE_STRING_H 1 256 257 /* Define to 1 if Apple-style dead-stripping is supported. */ 258 /* #undef HAVE_SUBSECTIONS_VIA_SYMBOLS */ 259 260 /* Define to 1 if you have the `sysconf' function. */ 261 #define HAVE_SYSCONF 1 262 263 /* Define to 1 if you have the <sys/cpuset.h> header file. */ 264 /* #undef HAVE_SYS_CPUSET_H */ 265 266 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 267 /* #undef HAVE_SYS_EVENTFD_H */ 268 269 /* Define to 1 if you have the <sys/mman.h> header file. */ 270 #define HAVE_SYS_MMAN_H 1 271 272 /* Define to 1 if you have the <sys/param.h> header file. */ 273 #define HAVE_SYS_PARAM_H 1 274 275 /* Define to 1 if you have the <sys/resource.h> header file. */ 276 #define HAVE_SYS_RESOURCE_H 1 277 278 /* Define to 1 if you have the <sys/select.h> header file. */ 279 #define HAVE_SYS_SELECT_H 1 280 281 /* Define to 1 if you have the <sys/stat.h> header file. */ 282 #define HAVE_SYS_STAT_H 1 283 284 /* Define to 1 if you have the <sys/timeb.h> header file. */ 285 #define HAVE_SYS_TIMEB_H 1 286 287 /* Define to 1 if you have the <sys/timerfd.h> header file. */ 288 /* #undef HAVE_SYS_TIMERFD_H */ 289 290 /* Define to 1 if you have the <sys/timers.h> header file. */ 291 #define HAVE_SYS_TIMERS_H 1 292 293 /* Define to 1 if you have the <sys/times.h> header file. */ 294 #define HAVE_SYS_TIMES_H 1 295 296 /* Define to 1 if you have the <sys/time.h> header file. */ 297 #define HAVE_SYS_TIME_H 1 298 299 /* Define to 1 if you have the <sys/types.h> header file. */ 300 #define HAVE_SYS_TYPES_H 1 301 302 /* Define to 1 if you have the <sys/utsname.h> header file. */ 303 #define HAVE_SYS_UTSNAME_H 1 304 305 /* Define to 1 if you have the <sys/wait.h> header file. */ 306 #define HAVE_SYS_WAIT_H 1 307 308 /* Define to 1 if you have the <termios.h> header file. */ 309 #define HAVE_TERMIOS_H 1 310 311 /* Define to 1 if you have the `timer_settime' function. */ 312 /* #undef HAVE_TIMER_SETTIME */ 313 314 /* Define to 1 if you have the `times' function. */ 315 #define HAVE_TIMES 1 316 317 /* Define to 1 if you have the <time.h> header file. */ 318 #define HAVE_TIME_H 1 319 320 /* Define to 1 if you have the <unistd.h> header file. */ 321 #define HAVE_UNISTD_H 1 322 323 /* Define to 1 if you have the <utime.h> header file. */ 324 #define HAVE_UTIME_H 1 325 326 /* Define to 1 if you have the `vfork' function. */ 327 #define HAVE_VFORK 1 328 329 /* Define to 1 if you have the <vfork.h> header file. */ 330 /* #undef HAVE_VFORK_H */ 331 332 /* Define to 1 if you have the <windows.h> header file. */ 333 /* #undef HAVE_WINDOWS_H */ 334 335 /* Define to 1 if you have the `WinExec' function. */ 336 /* #undef HAVE_WINEXEC */ 337 338 /* Define to 1 if you have the <winsock.h> header file. */ 339 /* #undef HAVE_WINSOCK_H */ 340 341 /* Define to 1 if `fork' works. */ 342 #define HAVE_WORKING_FORK 1 343 344 /* Define to 1 if `vfork' works. */ 345 #define HAVE_WORKING_VFORK 1 346 347 /* Define to 1 if C symbols have a leading underscore added by the compiler. 348 */ 349 /* #undef LEADING_UNDERSCORE */ 350 351 /* Define 1 if we need to link code using pthreads with -lpthread */ 352 #define NEED_PTHREAD_LIB 1 353 354 /* Define to the address where bug reports for this package should be sent. */ 355 /* #undef PACKAGE_BUGREPORT */ 356 357 /* Define to the full name of this package. */ 358 /* #undef PACKAGE_NAME */ 359 360 /* Define to the full name and version of this package. */ 361 /* #undef PACKAGE_STRING */ 362 363 /* Define to the one symbol short name of this package. */ 364 /* #undef PACKAGE_TARNAME */ 365 366 /* Define to the home page for this package. */ 367 /* #undef PACKAGE_URL */ 368 369 /* Define to the version of this package. */ 370 /* #undef PACKAGE_VERSION */ 371 372 /* Use mmap in the runtime linker */ 373 #define RTS_LINKER_USE_MMAP 1 374 375 /* The size of `char', as computed by sizeof. */ 376 #define SIZEOF_CHAR 1 377 378 /* The size of `double', as computed by sizeof. */ 379 #define SIZEOF_DOUBLE 8 380 381 /* The size of `float', as computed by sizeof. */ 382 #define SIZEOF_FLOAT 4 383 384 /* The size of `int', as computed by sizeof. */ 385 #define SIZEOF_INT 4 386 387 /* The size of `int16_t', as computed by sizeof. */ 388 #define SIZEOF_INT16_T 2 389 390 /* The size of `int32_t', as computed by sizeof. */ 391 #define SIZEOF_INT32_T 4 392 393 /* The size of `int64_t', as computed by sizeof. */ 394 #define SIZEOF_INT64_T 8 395 396 /* The size of `int8_t', as computed by sizeof. */ 397 #define SIZEOF_INT8_T 1 398 399 /* The size of `long', as computed by sizeof. */ 400 #define SIZEOF_LONG 8 401 402 /* The size of `long long', as computed by sizeof. */ 403 #define SIZEOF_LONG_LONG 8 404 405 /* The size of `short', as computed by sizeof. */ 406 #define SIZEOF_SHORT 2 407 408 /* The size of `uint16_t', as computed by sizeof. */ 409 #define SIZEOF_UINT16_T 2 410 411 /* The size of `uint32_t', as computed by sizeof. */ 412 #define SIZEOF_UINT32_T 4 413 414 /* The size of `uint64_t', as computed by sizeof. */ 415 #define SIZEOF_UINT64_T 8 416 417 /* The size of `uint8_t', as computed by sizeof. */ 418 #define SIZEOF_UINT8_T 1 419 420 /* The size of `unsigned char', as computed by sizeof. */ 421 #define SIZEOF_UNSIGNED_CHAR 1 422 423 /* The size of `unsigned int', as computed by sizeof. */ 424 #define SIZEOF_UNSIGNED_INT 4 425 426 /* The size of `unsigned long', as computed by sizeof. */ 427 #define SIZEOF_UNSIGNED_LONG 8 428 429 /* The size of `unsigned long long', as computed by sizeof. */ 430 #define SIZEOF_UNSIGNED_LONG_LONG 8 431 432 /* The size of `unsigned short', as computed by sizeof. */ 433 #define SIZEOF_UNSIGNED_SHORT 2 434 435 /* The size of `void *', as computed by sizeof. */ 436 #define SIZEOF_VOID_P 8 437 438 /* If using the C implementation of alloca, define if you know the 439 direction of stack growth for your system; otherwise it will be 440 automatically deduced at runtime. 441 STACK_DIRECTION > 0 => grows toward higher addresses 442 STACK_DIRECTION < 0 => grows toward lower addresses 443 STACK_DIRECTION = 0 => direction of growth unknown */ 444 /* #undef STACK_DIRECTION */ 445 446 /* Define to 1 if you have the ANSI C header files. */ 447 #define STDC_HEADERS 1 448 449 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 450 #define TIME_WITH_SYS_TIME 1 451 452 /* Enable single heap address space support */ 453 #define USE_LARGE_ADDRESS_SPACE 1 454 455 /* Set to 1 to use libdw */ 456 #define USE_LIBDW 0 457 458 /* Enable extensions on AIX 3, Interix. */ 459 #ifndef _ALL_SOURCE 460 # define _ALL_SOURCE 1 461 #endif 462 /* Enable GNU extensions on systems that have them. */ 463 #ifndef _GNU_SOURCE 464 # define _GNU_SOURCE 1 465 #endif 466 /* Enable threading extensions on Solaris. */ 467 #ifndef _POSIX_PTHREAD_SEMANTICS 468 # define _POSIX_PTHREAD_SEMANTICS 1 469 #endif 470 /* Enable extensions on HP NonStop. */ 471 #ifndef _TANDEM_SOURCE 472 # define _TANDEM_SOURCE 1 473 #endif 474 /* Enable general extensions on Solaris. */ 475 #ifndef __EXTENSIONS__ 476 # define __EXTENSIONS__ 1 477 #endif 478 479 480 /* Define to 1 if we can use timer_create(CLOCK_REALTIME,...) */ 481 /* #undef USE_TIMER_CREATE */ 482 483 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 484 significant byte first (like Motorola and SPARC, unlike Intel). */ 485 #if defined AC_APPLE_UNIVERSAL_BUILD 486 # if defined __BIG_ENDIAN__ 487 # define WORDS_BIGENDIAN 1 488 # endif 489 #else 490 # ifndef WORDS_BIGENDIAN 491 /* # undef WORDS_BIGENDIAN */ 492 # endif 493 #endif 494 495 /* Enable large inode numbers on Mac OS X 10.5. */ 496 #ifndef _DARWIN_USE_64_BIT_INODE 497 # define _DARWIN_USE_64_BIT_INODE 1 498 #endif 499 500 /* Number of bits in a file offset, on hosts where this is settable. */ 501 /* #undef _FILE_OFFSET_BITS */ 502 503 /* Define for large files, on AIX-style hosts. */ 504 /* #undef _LARGE_FILES */ 505 506 /* Define to 1 if on MINIX. */ 507 /* #undef _MINIX */ 508 509 /* Define to 2 if the system does not provide POSIX.1 features except with 510 this defined. */ 511 /* #undef _POSIX_1_SOURCE */ 512 513 /* Define to 1 if you need to in order for `stat' and other things to work. */ 514 /* #undef _POSIX_SOURCE */ 515 516 /* ARM pre v6 */ 517 /* #undef arm_HOST_ARCH_PRE_ARMv6 */ 518 519 /* ARM pre v7 */ 520 /* #undef arm_HOST_ARCH_PRE_ARMv7 */ 521 522 /* Define to empty if `const' does not conform to ANSI C. */ 523 /* #undef const */ 524 525 /* Define to `int' if <sys/types.h> does not define. */ 526 /* #undef pid_t */ 527 528 /* The supported LLVM version number */ 529 #define sUPPORTED_LLVM_VERSION (7) 530 531 /* Define to `unsigned int' if <sys/types.h> does not define. */ 532 /* #undef size_t */ 533 534 /* Define as `fork' if `vfork' does not work. */ 535 /* #undef vfork */ 536 537 #define TABLES_NEXT_TO_CODE 1 538 #endif /* __GHCAUTOCONF_H__ */ 539