Logo AND Algorithmique Numérique Distribuée

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