Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge branches
[simgrid.git] / buildtools / Cmake / gras_config.h.in
1 // <root>/buildtools/Cmake/gras_config.h.in is user-written.
2 // With Cmake it creates <root>/src/gras_config.h
3
4 /* Set somes variables for Windows compilation */
5
6 #ifdef _XBT_DLL_EXPORT
7         #define DLL_EXPORT
8 #else
9         #ifdef _XBT_DLL_STATIC
10                 #define DLL_STATIC
11         #else
12                 #define DLL_IMPORT
13         #endif
14 #endif
15
16 #cmakedefine SIZEOF_INT @SIZEOF_INT@
17 #cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
18
19 /* If __thread is available */
20 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
21
22 #ifndef __STRICT_ANSI__
23         #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
24 #endif
25 #ifndef _MSC_VER
26         #cmakedefine _MSC_VER @_MSC_VER@
27 #endif
28 #ifndef _M_IX86
29         #cmakedefine _M_IX86 @_M_IX86@
30 #endif
31 #cmakedefine _XBT_WIN32 @_XBT_WIN32@    //this variable is set if it is a windows platform
32 #cmakedefine _WIN32 @_WIN32@                    //this variable is set if it is a 32 bits windows platform
33 #cmakedefine _WIN64 @_WIN64@                    //this variable is set if it is a 64 bits  windows platform
34 #cmakedefine __VISUALC__ @__VISUALC__@
35 #cmakedefine __BORLANDC__ @__BORLANDC__@
36 #cmakedefine APPLE @APPLE@
37 #ifdef _XBT_WIN32
38         #ifndef __GNUC__
39                 #cmakedefine __GNUC__ @__GNUC__@
40         #endif
41 #endif
42 /* Set to true if enable_model-checking is true */
43 #cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
44 #cmakedefine HAVE_MC @HAVE_MC@
45
46 /* Set to true if have the mergesort function */
47 #cmakedefine HAVE_MERGESORT @HAVE_MERGESORT@
48
49 /* If have linux_futex.h */
50 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
51
52 /* Some variable for graphviz */
53 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
54 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
55 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
56
57 /* Define if building universal (internal helper macro) */
58 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
59
60 /* Arguments passed to the configure script */
61 #cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
62
63 /* Path to the addr2line tool */
64 #cmakedefine ADDR2LINE "@ADDR2LINE@"
65
66 /* Predefined possible va_copy() implementation (id: ASP) */
67 #cmakedefine __VA_COPY_USE_ASP(d, s) @__VA_COPY_USE_ASP@
68
69 /* Predefined possible va_copy() implementation (id: ASS) */
70 #cmakedefine __VA_COPY_USE_ASS(d, s) @__VA_COPY_USE_ASS@
71
72 /* Predefined possible va_copy() implementation (id: C99) */
73 #cmakedefine __VA_COPY_USE_C99(d, s) @__VA_COPY_USE_C99@
74
75 /* Define if xbt contexts are based on our threads implementation or not */
76 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
77
78 /* Define to 1 if you have the <ucontext.h> header file. */
79 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
80
81 /* Define if xbt contexts are based on ucontext or not */
82 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
83
84 /* Predefined possible va_copy() implementation (id: CPP) */
85 #cmakedefine __VA_COPY_USE_CPP(d, s) @__VA_COPY_USE_CPP@
86
87 /* Predefined possible va_copy() implementation (id: CPS) */
88 #cmakedefine __VA_COPY_USE_CPS(d, s) @__VA_COPY_USE_CPS@
89
90 /* Predefined possible va_copy() implementation (id: GCB) */
91 #cmakedefine __VA_COPY_USE_GCB(d, s) @__VA_COPY_USE_GCB@
92
93 /* Predefined possible va_copy() implementation (id: GCH) */
94 #cmakedefine __VA_COPY_USE_GCH(d, s) @__VA_COPY_USE_GCH@
95
96 /* Predefined possible va_copy() implementation (id: GCM) */
97 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
98
99 /* Used to select the flavor of assembly that we need today */
100 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
101 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
102 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
103 #cmakedefine HAVE_RAWCTX @HAVE_RAWCTX@
104
105 /* Defined if arrays in struct can straddle struct alignment boundaries. This
106    is like than the structure compaction above, but this time, the argument to
107    be compacted is an array whom each element would be normally compacted.
108    Exemple: struct s { double d; int i; char c[6]; }; Arrays can straddle if c
109    is allowed to come just after i. Note that GRAS only support architecture
110    presenting this caracteristic so far. */
111 #cmakedefine GRAS_ARRAY_STRADDLE_STRUCT @GRAS_ARRAY_STRADDLE_STRUCT@
112
113 /* define if big endian */
114 #define GRAS_BIGENDIAN @GRAS_BIGENDIAN@
115
116 /* Defined if structures are compacted when possible. Consider this structure:
117    struct s {double d; int i; char c;}; If it is allowed, the char is placed
118    just after the int. If not, it has to be on the 8 bytes boundary imposed by
119    the double. For now, GRAS requires the structures to be compacted. */
120 #cmakedefine GRAS_STRUCT_COMPACT @GRAS_STRUCT_COMPACT@
121
122 /* defines the GRAS architecture signature of this machine */
123 #define GRAS_THISARCH @GRAS_THISARCH@
124
125 /* Define to 1 if you have the <dlfcn.h> header file. */
126 #cmakedefine HAVE_DLFCN_H @HAVE_DLFCN_H@
127
128 /* Define to 1 if you have the <errno.h> header file. */
129 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
130
131 /* Define to 1 if you have the <execinfo.h> header file. */
132 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
133
134 /* Define to 1 if you have the `mmap' function. */
135 #cmakedefine HAVE_MMAP @HAVE_MMAP@
136
137 /* Define to 1 if you have the `getdtablesize' function. */
138 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
139
140 /* Define to 1 if you have the `gettimeofday' function. */
141 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
142
143 /* Define to 1 if you have the `clock_gettime' function. */
144 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
145
146 /* Indicates that we have GTNETS support */
147 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
148
149 /* Indicates that we have NS3 support */
150 #cmakedefine HAVE_NS3 @HAVE_NS3@
151
152 /* Define to 1 if you have the <inttypes.h> header file. */
153 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
154
155 /* defines whether Lua bindings must be compiled or not */
156 #cmakedefine HAVE_LUA @HAVE_LUA@
157
158 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
159 #cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
160
161 /* Define to 1 if you have the `makecontext' function. */
162 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
163
164 /* Define to 1 if you have the <memory.h> header file. */
165 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
166
167 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
168    standard only?) */
169 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
170
171 /* Define to 1 if you have the `popen' function. */
172 #cmakedefine HAVE_POPEN @HAVE_POPEN@
173
174 /* Define to 1 if you have the <pthread.h> header file. */
175 #cmakedefine HAVE_PTHREAD_H @HAVE_PTHREAD_H@
176
177 /* Define to 1 if you have the `readv' function. */
178 #cmakedefine HAVE_READV @HAVE_READV@
179
180 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
181 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
182
183 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
184 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
185
186 /* Define to 1 if you have the `signal' function. */
187 #cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
188
189 /* Define to 1 if you have the <signal.h> header file. */
190 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
191
192 /* Define to 1 if you have the `snprintf' function. */
193 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
194
195 /* Define to 1 if you have the <stdint.h> header file. */
196 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
197
198 /* Define to 1 if you have the <stdlib.h> header file. */
199 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
200
201 /* Define to 1 if you have the <strings.h> header file. */
202 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
203
204 /* Define to 1 if you have the <string.h> header file. */
205 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
206
207 /* Define to 1 if you have the `sysconf' function. */
208 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
209
210 /* Define to 1 if you have the <sys/socket.h> header file. */
211 #cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
212
213 /* Define to 1 if you have the <sys/stat.h> header file. */
214 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
215
216 /* Define to 1 if you have the <sys/time.h> header file. */
217 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
218
219 /* Define to 1 if you have the <sys/types.h> header file. */
220 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
221
222 /* Define to 1 if you have the <unistd.h> header file. */
223 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
224
225 /* Define to 1 if you have the `usleep' function. */
226 #cmakedefine HAVE_USLEEP @HAVE_USLEEP@
227
228 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
229 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
230
231 /* Define if va_copy() macro exists (and no fallback implementation is
232    required) */
233 #cmakedefine HAVE_VA_COPY @HAVE_VA_COPY@
234
235 /* Define to 1 if you have the `vsnprintf' function. */
236 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
237
238 /* Define to 1 if you have the <windows.h> header file. */
239 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
240
241 /* Define to 1 if you have the <winsock2.h> header file. */
242 #cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@
243
244 /* Define to 1 if you have the <winsock.h> header file. */
245 #cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@
246
247 /* Define to the sub-directory in which libtool stores uninstalled libraries.*/
248 #cmakedefine LT_OBJDIR @LT_OBJDIR@
249
250 /* enable the asprintf replacement */
251 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
252
253 /* enable the vasprintf replacement */
254 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
255
256 /* Name of package */
257 #cmakedefine PACKAGE @PACKAGE@
258
259 /* Define to the address where bug reports for this package should be sent. */
260 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@ 
261
262 /* Define to the full name of this package. */
263 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
264
265 /* Define to the full name and version of this package. */
266 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
267
268 /* Define to the one symbol short name of this package. */
269 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
270
271 /* Define to the home page for this package. */
272 #cmakedefine PACKAGE_URL @PACKAGE_URL@
273
274 /* Define to the version of this package. */
275 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
276
277 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
278 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
279
280 /* Indicates whether printf("%s",NULL) works */
281 #cmakedefine PRINTF_NULL_WORKING @PRINTF_NULL_WORKING@
282
283 /* define for stack growth */
284 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
285
286 /* enable the getline replacement */
287 #cmakedefine SIMGRID_NEED_GETLINE @SIMGRID_NEED_GETLINE@
288
289 /* The maximal size of any scalar on this arch */
290 #cmakedefine SIZEOF_MAX @SIZEOF_MAX@
291
292 /* Define to 1 if you have the ANSI C header files. */
293 #cmakedefine STDC_HEADERS @STDC_HEADERS@
294
295 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
296 #cmakedefine TIME_WITH_SYS_TIME @TIME_WITH_SYS_TIME@
297
298 /* Version number of package */
299 #cmakedefine VERSION @VERSION@
300
301 /* Tracing SimGrid */
302 #cmakedefine HAVE_TRACING @HAVE_TRACING@
303
304 /* Tracking of latency bound */
305 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
306
307 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
308    significant byte first (like Motorola and SPARC, unlike Intel). */
309 #if defined AC_APPLE_UNIVERSAL_BUILD
310 # if defined __BIG_ENDIAN__
311 #  define WORDS_BIGENDIAN 1
312 # endif
313 #else
314 # ifndef WORDS_BIGENDIAN
315 /* #  undef WORDS_BIGENDIAN */
316 # endif
317 #endif
318
319 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
320    `char[]'. */
321 #cmakedefine YYTEXT_POINTER 
322
323 /* Optional va_copy() implementation activation */
324 #ifndef HAVE_VA_COPY
325 #define va_copy(d, s) __VA_COPY_USE(d, s)
326 #endif
327 /* Define to id of used va_copy() implementation */
328 #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
329
330 /* Define to empty if `const' does not conform to ANSI C. */
331 #cmakedefine const @const@
332
333 /* Define to `__inline__' or `__inline' if that's what the C compiler
334    calls it, or to nothing if 'inline' is not supported under any name.  */
335 #ifndef __cplusplus
336 #cmakedefine inline @inline@
337 #endif
338
339 /* Define to `unsigned int' if <sys/types.h> does not define. */
340 #cmakedefine size_t @size_t@