Logo AND Algorithmique Numérique Distribuée

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