Logo AND Algorithmique Numérique Distribuée

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