Logo AND Algorithmique Numérique Distribuée

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