1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake.
4 * Edit the template instead: tools/cmake/src/internal_config.h.in */
6 /* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved. */
8 /* This program is free software; you can redistribute it and/or modify it
9 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "simgrid_config.h" /* what was compiled in? */
13 /* Non-standard header files */
15 #cmakedefine01 HAVE_EXECINFO_H
17 #cmakedefine01 HAVE_FUTEX_H
19 #cmakedefine01 HAVE_SIGNAL_H
21 #cmakedefine01 HAVE_UNISTD_H
23 #cmakedefine01 HAVE_UCONTEXT_H
24 /* <valgrind/valgrind.h> */
25 #cmakedefine01 HAVE_VALGRIND_H
27 /* Time portability */
28 /* Function gettimeofday */
29 #cmakedefine01 HAVE_GETTIMEOFDAY
30 /* Function clock_gettime */
31 #cmakedefine01 HAVE_POSIX_GETTIME
32 /* Function nanosleep */
33 #cmakedefine01 HAVE_NANOSLEEP
35 /* The usable context factories */
36 #define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
37 #cmakedefine01 HAVE_RAW_CONTEXTS
38 #cmakedefine01 HAVE_THREAD_CONTEXTS
39 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
41 /* Variables for the thread contexts (and parallel mode of raw contexts) */
42 /* Define to 1 if threads are usable . */
43 #cmakedefine01 HAVE_PTHREAD
44 /* Does not seems defined on Mac nor Windows */
45 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
46 /* If __thread is available */
47 #cmakedefine01 HAVE_THREAD_LOCAL_STORAGE
49 /* Variables for the raw contexts (to select the right assembly code) */
50 #cmakedefine01 SIMGRID_PROCESSOR_i686
51 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
53 /* Variables for the SysV contexts */
54 @sg_makecontext_stack_addr@
55 @sg_makecontext_stack_size@
57 /* Variable for SysV, raw and Boost contexts */
58 /* Does the stack growth upward, or downward? */
59 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
62 /* getdtablesize: get descriptor table size */
63 #cmakedefine01 HAVE_GETDTABLESIZE
64 /* Did we compile mmalloc in? */
65 #cmakedefine01 HAVE_MMALLOC
66 /* process_vm_readv: transfer data between process address spaces */
67 #cmakedefine01 HAVE_PROCESS_VM_READV
68 /* Set to true if enable_model-checking is true and the dependencies available */
69 #cmakedefine01 HAVE_MC
73 #cmakedefine01 HAVE_SMPI
74 /* Fortran language is available for SMPI */
75 #cmakedefine01 SMPI_FORTRAN
76 /* We have mmap and objdump to handle privatization */
77 #cmakedefine01 HAVE_PRIVATIZATION
78 /* We have PAPI to fine-grain trace execution time */
79 #cmakedefine01 HAVE_PAPI
81 /* Other function checks */
82 /* Function backtrace */
83 #cmakedefine01 HAVE_BACKTRACE
85 #cmakedefine01 HAVE_DLFUNC
87 #cmakedefine01 HAVE_MMAP
89 #cmakedefine01 HAVE_MREMAP
90 /* Function sem_init (part of XPG6 standard only) */
91 #cmakedefine01 HAVE_SEM_INIT
93 #cmakedefine01 HAVE_POPEN
94 /* Function sysconf */
95 #cmakedefine01 HAVE_SYSCONF
96 /* Function vasprintf */
97 #cmakedefine01 HAVE_VASPRINTF
100 /* Path to the addr2line tool */
101 #cmakedefine ADDR2LINE "@ADDR2LINE@"
102 /* The graphviz library */
103 #cmakedefine01 HAVE_GRAPHVIZ
104 /* The lib unwind library (for MC and backtrace display) */
105 #cmakedefine01 HAVE_LIBUNWIND