1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake.
4 * Edit the template instead: tools/cmake/src/internal_config.h.in */
6 /* Copyright (c) 2004-2014. The SimGrid Team.
7 * All rights reserved. */
9 /* This program is free software; you can redistribute it and/or modify it
10 * under the terms of the license (GNU LGPL) which comes with this package. */
12 /* Set somes variables for Windows compilation */
14 #ifdef _XBT_DLL_EXPORT
19 #ifdef _XBT_DLL_STATIC
30 /* If __thread is available */
31 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
33 #ifndef __STRICT_ANSI__
34 #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
37 #cmakedefine _MSC_VER @_MSC_VER@
40 #cmakedefine _M_IX86 @_M_IX86@
42 #cmakedefine _XBT_WIN32 @_XBT_WIN32@ // this variable is set if it is a windows platform
43 #cmakedefine _WIN32 @_WIN32@ // this variable is set if it is a 32 bits windows platform
44 #cmakedefine _WIN64 @_WIN64@ // this variable is set if it is a 64 bits windows platform
45 #cmakedefine APPLE @APPLE@
46 /* Set to true if enable_model-checking is true */
47 #cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
48 #cmakedefine HAVE_MC @HAVE_MC@
50 /* If have linux_futex.h */
51 #cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
53 /* Some variable for graphviz */
54 #cmakedefine HAVE_GRAPHVIZ @HAVE_GRAPHVIZ@
55 #cmakedefine HAVE_GRAPH_H @GRAPH_H@
56 #cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
57 #cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
59 /* Define if building universal (internal helper macro) */
60 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
62 /* Path to the addr2line tool */
63 #cmakedefine ADDR2LINE "@ADDR2LINE@"
65 /* Define if xbt contexts are based on our threads implementation or not */
66 #cmakedefine HAVE_THREAD_CONTEXTS @HAVE_THREAD_CONTEXTS@
68 /* Define to 1 if you have the <ucontext.h> header file. */
69 #cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
71 /* Define if xbt contexts are based on ucontext or not */
72 #cmakedefine HAVE_UCONTEXT_CONTEXTS @HAVE_UCONTEXT_CONTEXTS@
74 /* Used to select the flavor of assembly that we need today */
75 #cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
76 #cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
77 #cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
78 #cmakedefine HAVE_RAW_CONTEXTS @HAVE_RAW_CONTEXTS@
79 #cmakedefine HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
81 /* Define to 1 if you have the <errno.h> header file. */
82 #cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
84 /* Define to 1 if you have the <execinfo.h> header file. */
85 #cmakedefine HAVE_EXECINFO_H @HAVE_EXECINFO_H@
87 /* Define to 1 if mmalloc is compiled in. */
88 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
90 /* Define to 1 if mmap is available */
91 #cmakedefine HAVE_MMAP @HAVE_MMAP@
93 /* Define to 1 if process_vm_readv is available */
94 #cmakedefine HAVE_PROCESS_VM_READV @HAVE_PROCESS_VM_READV@
96 /* Define to 1 if you have the `getdtablesize' function. */
97 #cmakedefine HAVE_GETDTABLESIZE @HAVE_GETDTABLESIZE@
99 /* Define to 1 if you have the `gettimeofday' function. */
100 #cmakedefine HAVE_GETTIMEOFDAY @HAVE_GETTIMEOFDAY@
102 /* Define to 1 if you have the `clock_gettime' function. */
103 #cmakedefine HAVE_POSIX_GETTIME @HAVE_POSIX_GETTIME@
105 /* Indicates that we have SMPI support */
106 #cmakedefine HAVE_SMPI @HAVE_SMPI@
108 /* Indicates that we have SMPI FORTRAN support */
109 #cmakedefine SMPI_FORTRAN @SMPI_FORTRAN@
111 /* We have mmap and objdump to handle privatization */
112 #cmakedefine HAVE_PRIVATIZATION @HAVE_PRIVATIZATION@
114 /* Indicates that we have NS3 support */
115 #cmakedefine HAVE_NS3 @HAVE_NS3@
117 /* defines whether Lua bindings must be compiled or not */
118 #cmakedefine HAVE_LUA @HAVE_LUA@
120 /* Define to 1 if you have the `makecontext' function. */
121 #cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
123 /* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
125 #cmakedefine HAVE_MUTEX_TIMEDLOCK @HAVE_MUTEX_TIMEDLOCK@
127 /* Define to 1 if you have the `popen' function. */
128 #cmakedefine HAVE_POPEN @HAVE_POPEN@
130 /* Define to 1 if threads are usable . */
131 #cmakedefine HAVE_PTHREAD @HAVE_PTHREAD@
133 /* Define if sem_init() is avaible or not (part of XPG6 standard only) */
134 #cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
136 /* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
137 #cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
139 /* Define to 1 if you have the <signal.h> header file. */
140 #cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
142 /* Define to 1 if you have the `snprintf' function. */
143 #cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
145 /* Define to 1 if you have the <stdint.h> header file. */
146 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
148 /* Define to 1 if you have the <string.h> header file. */
149 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
151 /* Define to 1 if you have the `sysconf' function. */
152 #cmakedefine HAVE_SYSCONF @HAVE_SYSCONF@
154 /* Define to 1 if you have the <sys/stat.h> header file. */
155 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
157 /* Define to 1 if you have the <sys/ptrace.h> header file. */
158 #cmakedefine HAVE_SYS_PTRACE_H @HAVE_SYS_PTRACE_H@
160 /* Define to 1 if you have the <sys/time.h> header file. */
161 #cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
163 /* Define to 1 if you have the <sys/types.h> header file. */
164 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
166 /* Define to 1 if you have the <unistd.h> header file. */
167 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
169 /* Define to 1 if you have the `nanosleep' function. */
170 #cmakedefine HAVE_NANOSLEEP @HAVE_NANOSLEEP@
172 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
173 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@
175 /* Define to 1 if you have the `vsnprintf' function. */
176 #cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
178 /* Define to 1 if you have the <windows.h> header file. */
179 #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
181 /* enable the asprintf replacement */
182 #cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
184 /* enable the vasprintf replacement */
185 #cmakedefine NEED_VASPRINTF @NEED_VASPRINTF@
187 /* Name of package */
188 #cmakedefine PACKAGE @PACKAGE@
190 /* Define to the address where bug reports for this package should be sent. */
191 #cmakedefine PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
193 /* Define to the full name of this package. */
194 #cmakedefine PACKAGE_NAME @PACKAGE_NAME@
196 /* Define to the full name and version of this package. */
197 #cmakedefine PACKAGE_STRING @PACKAGE_STRING@
199 /* Define to the one symbol short name of this package. */
200 #cmakedefine PACKAGE_TARNAME @PACKAGE_TARNAME@
202 /* Define to the home page for this package. */
203 #cmakedefine PACKAGE_URL @PACKAGE_URL@
205 /* Define to the version of this package. */
206 #cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
208 /* "enable replacement (v)snprintf if system (v)snprintf is broken" */
209 #cmakedefine PREFER_PORTABLE_SNPRINTF @PREFER_PORTABLE_SNPRINTF@
211 /* define for stack growth */
212 #cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
214 /* Define to 1 if you have the ANSI C header files. */
215 #cmakedefine STDC_HEADERS @STDC_HEADERS@
217 /* Tracking of latency bound */
218 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
220 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
222 #cmakedefine YYTEXT_POINTER
224 /* Define to `unsigned int' if <sys/types.h> does not define. */
225 #cmakedefine size_t @size_t@