1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* Define to 1 if you're using Bionic */
5 /* #undef BIONIC_LIBC */
6 
7 /* DARWIN_VERS value for Mac OS X 10.10 */
8 /* #undef DARWIN_10_10 */
9 
10 /* DARWIN_VERS value for Mac OS X 10.5 */
11 /* #undef DARWIN_10_5 */
12 
13 /* DARWIN_VERS value for Mac OS X 10.6 */
14 /* #undef DARWIN_10_6 */
15 
16 /* DARWIN_VERS value for Mac OS X 10.7 */
17 /* #undef DARWIN_10_7 */
18 
19 /* DARWIN_VERS value for Mac OS X 10.8 */
20 /* #undef DARWIN_10_8 */
21 
22 /* DARWIN_VERS value for Mac OS X 10.9 */
23 /* #undef DARWIN_10_9 */
24 
25 /* Define to 1 if you're using Darwin */
26 /* #undef DARWIN_LIBC */
27 
28 /* Darwin / Mac OS X version */
29 /* #undef DARWIN_VERS */
30 
31 /* Disable intercept pthread_spin_lock() on MIPS32 and MIPS64. */
32 /* #undef DISABLE_PTHREAD_SPINLOCK_INTERCEPT */
33 
34 /* configured to run as an inner Valgrind */
35 /* #undef ENABLE_INNER */
36 
37 /* path to GDB */
38 #define GDB_PATH "/usr/bin/gdb"
39 
40 /* Define to 1 if index() and strlen() have been optimized heavily (x86 glibc
41    >= 2.12) */
42 #ifndef __ANDROID__
43 #define GLIBC_MANDATORY_INDEX_AND_STRLEN_REDIRECT 1
44 #endif
45 
46 /* Define to 1 if strlen() has been optimized heavily (amd64 glibc >= 2.10) */
47 #ifndef __ANDROID__
48 #define GLIBC_MANDATORY_STRLEN_REDIRECT 1
49 #endif
50 
51 /* Define to 1 if gcc/as can do Altivec. */
52 /* #undef HAS_ALTIVEC */
53 
54 /* Define to 1 if you have the <asm/unistd.h> header file. */
55 #define HAVE_ASM_UNISTD_H 1
56 
57 /* Define to 1 if as supports floating point phased out category. */
58 /* #undef HAVE_AS_PPC_FPPO */
59 
60 /* Define to 1 if as supports mtocrf/mfocrf. */
61 /* #undef HAVE_AS_PPC_MFTOCRF */
62 
63 /* Define to 1 if gcc supports __sync_bool_compare_and_swap() and
64    __sync_add_and_fetch() for the primary target */
65 #define HAVE_BUILTIN_ATOMIC 1
66 
67 /* Define to 1 if g++ supports __sync_bool_compare_and_swap() and
68    __sync_add_and_fetch() */
69 #define HAVE_BUILTIN_ATOMIC_CXX 1
70 
71 /* Define to 1 if compiler provides __builtin_clz(). */
72 #define HAVE_BUILTIN_CLZ 1
73 
74 /* Define to 1 if compiler provides __builtin_ctz(). */
75 #define HAVE_BUILTIN_CTZ 1
76 
77 /* Define to 1 if compiler provides __builtin_popcount(). */
78 #define HAVE_BUILTIN_POPCOUT 1
79 
80 /* Define to 1 if you have the `clock_gettime' function. */
81 #define HAVE_CLOCK_GETTIME 1
82 
83 /* Define to 1 if you have the `CLOCK_MONOTONIC' constant. */
84 #define HAVE_CLOCK_MONOTONIC 1
85 
86 /* Define to 1 if you have a dlinfo that can do RTLD_DI_TLS_MODID. */
87 #ifndef __ANDROID__
88 #define HAVE_DLINFO_RTLD_DI_TLS_MODID 1
89 #endif
90 
91 /* Define to 1 if you have the <endian.h> header file. */
92 #define HAVE_ENDIAN_H 1
93 
94 /* Define to 1 if you have the `epoll_create' function. */
95 #define HAVE_EPOLL_CREATE 1
96 
97 /* Define to 1 if you have the `epoll_pwait' function. */
98 #define HAVE_EPOLL_PWAIT 1
99 
100 /* Define to 1 if you have the `eventfd' function. */
101 #define HAVE_EVENTFD 1
102 
103 /* Define to 1 if you have the `eventfd_read' function. */
104 #define HAVE_EVENTFD_READ 1
105 
106 /* Define to 1 if you have the `getpagesize' function. */
107 #define HAVE_GETPAGESIZE 1
108 
109 /* Define to 1 if you have the <inttypes.h> header file. */
110 #define HAVE_INTTYPES_H 1
111 
112 /* Define to 1 if you have the `klogctl' function. */
113 #define HAVE_KLOGCTL 1
114 
115 /* Define to 1 if you have the `pthread' library (-lpthread). */
116 #define HAVE_LIBPTHREAD 1
117 
118 /* Define to 1 if you have the `rt' library (-lrt). */
119 #define HAVE_LIBRT 1
120 
121 /* Define to 1 if you have the `mallinfo' function. */
122 #define HAVE_MALLINFO 1
123 
124 /* Define to 1 if you have the `memchr' function. */
125 #define HAVE_MEMCHR 1
126 
127 /* Define to 1 if you have the <memory.h> header file. */
128 #define HAVE_MEMORY_H 1
129 
130 /* Define to 1 if you have the `memset' function. */
131 #define HAVE_MEMSET 1
132 
133 /* Define to 1 if you have the `mkdir' function. */
134 #define HAVE_MKDIR 1
135 
136 /* Define to 1 if you have a working `mmap' system call. */
137 #define HAVE_MMAP 1
138 
139 /* Define to 1 if you have the <mqueue.h> header file. */
140 #define HAVE_MQUEUE_H 1
141 
142 /* Define to 1 if you have the `mremap' function. */
143 #define HAVE_MREMAP 1
144 
145 /* Define to 1 if you have the `ppoll' function. */
146 #define HAVE_PPOLL 1
147 
148 /* Define to 1 if you have the `process_vm_readv' function. */
149 #ifndef __ANDROID__
150 #define HAVE_PROCESS_VM_READV 1
151 #endif
152 
153 /* Define to 1 if you have the `process_vm_writev' function. */
154 #ifndef __ANDROID__
155 #define HAVE_PROCESS_VM_WRITEV 1
156 #endif
157 
158 /* Define to 1 if you have the `pthread_barrier_init' function. */
159 #ifndef __ANDROID__
160 #define HAVE_PTHREAD_BARRIER_INIT 1
161 #endif
162 
163 /* Define to 1 if you have the `pthread_condattr_setclock' function. */
164 #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
165 
166 /* Define to 1 if you have the `pthread_create@glibc2.0' function. */
167 /* #undef HAVE_PTHREAD_CREATE_GLIBC_2_0 */
168 
169 /* Define to 1 if you have the `PTHREAD_MUTEX_ADAPTIVE_NP' constant. */
170 #ifndef __ANDROID__
171 #define HAVE_PTHREAD_MUTEX_ADAPTIVE_NP 1
172 #endif
173 
174 /* Define to 1 if you have the `PTHREAD_MUTEX_ERRORCHECK_NP' constant. */
175 #define HAVE_PTHREAD_MUTEX_ERRORCHECK_NP 1
176 
177 /* Define to 1 if you have the `PTHREAD_MUTEX_RECURSIVE_NP' constant. */
178 #define HAVE_PTHREAD_MUTEX_RECURSIVE_NP 1
179 
180 /* Define to 1 if you have the `pthread_mutex_timedlock' function. */
181 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
182 
183 /* Define to 1 if pthread_mutex_t has a member __data.__kind. */
184 #ifndef __ANDROID__
185 #define HAVE_PTHREAD_MUTEX_T__DATA__KIND 1
186 #endif
187 
188 /* Define to 1 if pthread_mutex_t has a member called __m_kind. */
189 /* #undef HAVE_PTHREAD_MUTEX_T__M_KIND */
190 
191 /* Define to 1 if you have the `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP'
192    constant. */
193 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP 1
194 
195 /* Define to 1 if you have the `pthread_rwlock_t' type. */
196 #define HAVE_PTHREAD_RWLOCK_T 1
197 
198 /* Define to 1 if you have the `pthread_rwlock_timedrdlock' function. */
199 #define HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK 1
200 
201 /* Define to 1 if you have the `pthread_rwlock_timedwrlock' function. */
202 #define HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK 1
203 
204 /* Define to 1 if you have the `pthread_setname_np' function. */
205 #define HAVE_PTHREAD_SETNAME_NP 1
206 
207 /* Define to 1 if you have the `pthread_spin_lock' function. */
208 #ifndef __ANDROID__
209 #define HAVE_PTHREAD_SPIN_LOCK 1
210 #endif
211 
212 /* Define to 1 if you have the `pthread_yield' function. */
213 #define HAVE_PTHREAD_YIELD 1
214 
215 /* Define to 1 if you have the `PTRACE_GETREGS' ptrace request. */
216 #define HAVE_PTRACE_GETREGS 1
217 
218 /* Define to 1 if you have the `readlinkat' function. */
219 #define HAVE_READLINKAT 1
220 
221 /* Define to 1 if you have the `semtimedop' function. */
222 #define HAVE_SEMTIMEDOP 1
223 
224 /* Define to 1 if libstd++ supports annotating shared pointers */
225 #ifndef __ANDROID__
226 #define HAVE_SHARED_POINTER_ANNOTATION 1
227 #endif
228 
229 /* Define to 1 if you have the `signalfd' function. */
230 #define HAVE_SIGNALFD 1
231 
232 /* Define to 1 if you have the `sigwaitinfo' function. */
233 #define HAVE_SIGWAITINFO 1
234 
235 /* Define to 1 if you have the <stdint.h> header file. */
236 #define HAVE_STDINT_H 1
237 
238 /* Define to 1 if you have the <stdlib.h> header file. */
239 #define HAVE_STDLIB_H 1
240 
241 /* Define to 1 if you have the `strchr' function. */
242 #define HAVE_STRCHR 1
243 
244 /* Define to 1 if you have the `strdup' function. */
245 #define HAVE_STRDUP 1
246 
247 /* Define to 1 if you have the <strings.h> header file. */
248 #define HAVE_STRINGS_H 1
249 
250 /* Define to 1 if you have the <string.h> header file. */
251 #define HAVE_STRING_H 1
252 
253 /* Define to 1 if you have the `strpbrk' function. */
254 #define HAVE_STRPBRK 1
255 
256 /* Define to 1 if you have the `strrchr' function. */
257 #define HAVE_STRRCHR 1
258 
259 /* Define to 1 if you have the `strstr' function. */
260 #define HAVE_STRSTR 1
261 
262 /* Define to 1 if you have the `syscall' function. */
263 #define HAVE_SYSCALL 1
264 
265 /* Define to 1 if you have the <sys/endian.h> header file. */
266 /* #undef HAVE_SYS_ENDIAN_H 1 */
267 
268 /* Define to 1 if you have the <sys/epoll.h> header file. */
269 #define HAVE_SYS_EPOLL_H 1
270 
271 /* Define to 1 if you have the <sys/eventfd.h> header file. */
272 #define HAVE_SYS_EVENTFD_H 1
273 
274 /* Define to 1 if you have the <sys/klog.h> header file. */
275 #define HAVE_SYS_KLOG_H 1
276 
277 /* Define to 1 if you have the <sys/param.h> header file. */
278 #define HAVE_SYS_PARAM_H 1
279 
280 /* Define to 1 if you have the <sys/poll.h> header file. */
281 #define HAVE_SYS_POLL_H 1
282 
283 /* Define to 1 if you have the <sys/signalfd.h> header file. */
284 #define HAVE_SYS_SIGNALFD_H 1
285 
286 /* Define to 1 if you have the <sys/signal.h> header file. */
287 #define HAVE_SYS_SIGNAL_H 1
288 
289 /* Define to 1 if you have the <sys/stat.h> header file. */
290 #define HAVE_SYS_STAT_H 1
291 
292 /* Define to 1 if you have the <sys/syscall.h> header file. */
293 #define HAVE_SYS_SYSCALL_H 1
294 
295 /* Define to 1 if you have the <sys/time.h> header file. */
296 #define HAVE_SYS_TIME_H 1
297 
298 /* Define to 1 if you have the <sys/types.h> header file. */
299 #define HAVE_SYS_TYPES_H 1
300 
301 /* Define to 1 if <sys/user.h> defines struct user_regs_struct */
302 #define HAVE_SYS_USER_REGS 1
303 
304 /* can use __thread to define thread-local variables */
305 #define HAVE_TLS 1
306 
307 /* Define to 1 if you have the <unistd.h> header file. */
308 #define HAVE_UNISTD_H 1
309 
310 /* Define to 1 if you have a usable <linux/futex.h> header file. */
311 #define HAVE_USABLE_LINUX_FUTEX_H 1
312 
313 /* Define to 1 if you have the `utimensat' function. */
314 #define HAVE_UTIMENSAT 1
315 
316 /* Define to 1 if you're using Linux 2.4.x */
317 /* #undef KERNEL_2_4 */
318 
319 /* Define to 1 if you're using Linux 2.6.x or Linux 3.x */
320 #define KERNEL_2_6 1
321 
322 /* configured default page size 4k */
323 #define MIPS_PAGE_SHIFT 12
324 
325 /* Name of package */
326 #define PACKAGE "valgrind"
327 
328 /* Define to the address where bug reports for this package should be sent. */
329 #define PACKAGE_BUGREPORT "valgrind-users@lists.sourceforge.net"
330 
331 /* Define to the full name of this package. */
332 #define PACKAGE_NAME "Valgrind"
333 
334 /* Define to the full name and version of this package. */
335 #define PACKAGE_STRING "Valgrind 3.11.0.SVN.aosp"
336 
337 /* Define to the one symbol short name of this package. */
338 #define PACKAGE_TARNAME "valgrind"
339 
340 /* Define to the home page for this package. */
341 #define PACKAGE_URL ""
342 
343 /* Define to the version of this package. */
344 #define PACKAGE_VERSION "3.11.0.SVN.aosp"
345 
346 /* Define to 1 if you have the ANSI C header files. */
347 #define STDC_HEADERS 1
348 
349 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
350 #define TIME_WITH_SYS_TIME 1
351 
352 /* Version number of package */
353 #define VERSION "3.11.0.SVN.aosp"
354 
355 /* Temporary files directory */
356 #ifdef __ANDROID__
357 #define VG_TMPDIR "/data/local/tmp"
358 #else
359 #define VG_TMPDIR "/tmp"
360 #endif
361 
362 /* TODO (dimtiry): remove this workaround when it becomes unnecessary
363  *
364  * Gcc produces an error when trying to compile a .c file containing
365  * asm(..) instruction outside of a function. Note that this happens only
366  * if -std=c99 flag is specified. Replacing asm with __asm__ fixes this
367  * problem.
368  */
369 #define asm __asm__
370 
371 /* Define to `int' if <sys/types.h> doesn't define. */
372 /* #undef gid_t */
373 
374 /* Define to `long int' if <sys/types.h> does not define. */
375 /* #undef off_t */
376 
377 /* Define to `unsigned int' if <sys/types.h> does not define. */
378 /* #undef size_t */
379 
380 /* Define to `int' if <sys/types.h> doesn't define. */
381 /* #undef uid_t */
382