Logo AND Algorithmique Numérique Distribuée

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