Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish the conversion of public MACRO names, in the cmake infrastructure
[simgrid.git] / tools / cmake / src / internal_config.h.in
1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
2
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake. 
4  * Edit the template instead: tools/cmake/src/internal_config.h.in          */
5
6 /* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved.          */
7
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. */
10
11 #include "simgrid_config.h"       /* what was compiled in? */
12
13 /* Non-standard header files */
14 /* <execinfo.h> */
15 #cmakedefine01 HAVE_EXECINFO_H
16 /* <linux/futex.h> */
17 #cmakedefine01 HAVE_FUTEX_H
18 /* <signal.h> */
19 #cmakedefine01 HAVE_SIGNAL_H
20 /* <unistd.h> */
21 #cmakedefine01 HAVE_UNISTD_H
22 /* <ucontext.h> */
23 #cmakedefine01 HAVE_UCONTEXT_H
24 /* <valgrind/valgrind.h> */
25 #cmakedefine01 HAVE_VALGRIND_H
26
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
34
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
40
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
48
49 /* Variables for the raw contexts (to select the right assembly code) */
50 #cmakedefine01 SIMGRID_PROCESSOR_i686
51 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
52
53 /* Variables for the SysV contexts */
54 @sg_makecontext_stack_addr@
55 @sg_makecontext_stack_size@
56
57 /* Variable for SysV, raw and Boost contexts */
58 /* Does the stack growth upward, or downward? */
59 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
60
61 /* MC variables */
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 SIMGRID_HAVE_MC
70
71 /* SMPI variables */
72 /* SMPI enabled */
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
80 /* We have sendfile to efficiently copy files for dl-open privatization */
81 #cmakedefine01 HAVE_SENDFILE
82
83 /* Other function checks */
84 /* Function backtrace */
85 #cmakedefine01 HAVE_BACKTRACE
86 /* Function dlfunc */
87 #cmakedefine01 HAVE_DLFUNC
88 /* Function mmap */
89 #cmakedefine01 HAVE_MMAP
90 /* Function mremap */
91 #cmakedefine01 HAVE_MREMAP
92 /* Function sem_init (part of XPG6 standard only) */
93 #cmakedefine01 HAVE_SEM_INIT
94 /* Function popen */
95 #cmakedefine01 HAVE_POPEN
96 /* Function sysconf */
97 #cmakedefine01 HAVE_SYSCONF
98 /* Function vasprintf */
99 #cmakedefine01 HAVE_VASPRINTF
100
101 /* Other checks */
102 /* Path to the addr2line tool */
103 #cmakedefine   ADDR2LINE "@ADDR2LINE@"
104 /* The graphviz library */
105 #cmakedefine01 HAVE_GRAPHVIZ
106 /* The lib unwind library (for MC and backtrace display) */
107 #cmakedefine01 HAVE_LIBUNWIND