OLD | NEW |
| 1 /* src/config.h. Generated from config.h.in by configure. */ |
1 /* src/config.h.in. Generated from configure.ac by autoheader. */ | 2 /* src/config.h.in. Generated from configure.ac by autoheader. */ |
2 | 3 |
3 | |
4 #ifndef GOOGLE_PERFTOOLS_CONFIG_H_ | |
5 #define GOOGLE_PERFTOOLS_CONFIG_H_ | |
6 | |
7 | |
8 /* Define to 1 if compiler supports __builtin_stack_pointer */ | 4 /* Define to 1 if compiler supports __builtin_stack_pointer */ |
9 #undef HAVE_BUILTIN_STACK_POINTER | 5 /* #undef HAVE_BUILTIN_STACK_POINTER */ |
10 | 6 |
11 /* Define to 1 if you have the <conflict-signal.h> header file. */ | 7 /* Define to 1 if you have the <conflict-signal.h> header file. */ |
12 #undef HAVE_CONFLICT_SIGNAL_H | 8 /* #undef HAVE_CONFLICT_SIGNAL_H */ |
13 | 9 |
14 /* Define to 1 if you have the <cygwin/signal.h> header file. */ | 10 /* Define to 1 if you have the <cygwin/signal.h> header file. */ |
15 #undef HAVE_CYGWIN_SIGNAL_H | 11 /* #undef HAVE_CYGWIN_SIGNAL_H */ |
16 | 12 |
17 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. | 13 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. |
18 */ | 14 */ |
19 #undef HAVE_DECL_CFREE | 15 #define HAVE_DECL_CFREE 0 |
20 | 16 |
21 /* Define to 1 if you have the declaration of `memalign', and to 0 if you | 17 /* Define to 1 if you have the declaration of `memalign', and to 0 if you |
22 don't. */ | 18 don't. */ |
23 #undef HAVE_DECL_MEMALIGN | 19 #define HAVE_DECL_MEMALIGN 0 |
24 | 20 |
25 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if | 21 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if |
26 you don't. */ | 22 you don't. */ |
27 #undef HAVE_DECL_POSIX_MEMALIGN | 23 #define HAVE_DECL_POSIX_MEMALIGN 0 |
28 | 24 |
29 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you | 25 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you |
30 don't. */ | 26 don't. */ |
31 #undef HAVE_DECL_PVALLOC | 27 #define HAVE_DECL_PVALLOC 0 |
32 | 28 |
33 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't. | 29 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't. |
34 */ | 30 */ |
35 #undef HAVE_DECL_UNAME | 31 #define HAVE_DECL_UNAME 1 |
36 | 32 |
37 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't. | 33 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't. |
38 */ | 34 */ |
39 #undef HAVE_DECL_VALLOC | 35 #define HAVE_DECL_VALLOC 0 |
40 | 36 |
41 /* Define to 1 if you have the <dlfcn.h> header file. */ | 37 /* Define to 1 if you have the <dlfcn.h> header file. */ |
42 #undef HAVE_DLFCN_H | 38 #define HAVE_DLFCN_H 1 |
43 | 39 |
44 /* Define to 1 if the system has the type `Elf32_Versym'. */ | 40 /* Define to 1 if the system has the type `Elf32_Versym'. */ |
45 #undef HAVE_ELF32_VERSYM | 41 #define HAVE_ELF32_VERSYM 1 |
46 | 42 |
47 /* Define to 1 if you have the <execinfo.h> header file. */ | 43 /* Define to 1 if you have the <execinfo.h> header file. */ |
48 #undef HAVE_EXECINFO_H | 44 #define HAVE_EXECINFO_H 1 |
49 | 45 |
50 /* Define to 1 if you have the <fcntl.h> header file. */ | 46 /* Define to 1 if you have the <fcntl.h> header file. */ |
51 #undef HAVE_FCNTL_H | 47 #define HAVE_FCNTL_H 1 |
52 | 48 |
53 /* Define to 1 if you have the <features.h> header file. */ | 49 /* Define to 1 if you have the <features.h> header file. */ |
54 #undef HAVE_FEATURES_H | 50 /* #undef HAVE_FEATURES_H */ |
55 | 51 |
56 /* Define to 1 if you have the `geteuid' function. */ | 52 /* Define to 1 if you have the `geteuid' function. */ |
57 #undef HAVE_GETEUID | 53 #define HAVE_GETEUID 1 |
58 | 54 |
59 /* Define to 1 if you have the `getpagesize' function. */ | 55 /* Define to 1 if you have the `getpagesize' function. */ |
60 #undef HAVE_GETPAGESIZE | 56 #define HAVE_GETPAGESIZE 1 |
61 | 57 |
62 /* Define to 1 if you have the <glob.h> header file. */ | 58 /* Define to 1 if you have the <glob.h> header file. */ |
63 #undef HAVE_GLOB_H | 59 #define HAVE_GLOB_H 1 |
64 | 60 |
65 /* Define to 1 if you have the <grp.h> header file. */ | 61 /* Define to 1 if you have the <grp.h> header file. */ |
66 #undef HAVE_GRP_H | 62 #define HAVE_GRP_H 1 |
67 | 63 |
68 /* Define to 1 if you have the <inttypes.h> header file. */ | 64 /* Define to 1 if you have the <inttypes.h> header file. */ |
69 #undef HAVE_INTTYPES_H | 65 #define HAVE_INTTYPES_H 1 |
70 | 66 |
71 /* Define to 1 if you have the <libunwind.h> header file. */ | 67 /* Define to 1 if you have the <libunwind.h> header file. */ |
72 #undef HAVE_LIBUNWIND_H | 68 /* #undef HAVE_LIBUNWIND_H */ |
73 | 69 |
74 /* Define to 1 if you have the <linux/ptrace.h> header file. */ | 70 /* Define to 1 if you have the <linux/ptrace.h> header file. */ |
75 #undef HAVE_LINUX_PTRACE_H | 71 /* #undef HAVE_LINUX_PTRACE_H */ |
76 | 72 |
77 /* Define to 1 if you have the <malloc.h> header file. */ | 73 /* Define to 1 if you have the <malloc.h> header file. */ |
78 #undef HAVE_MALLOC_H | 74 /* #undef HAVE_MALLOC_H */ |
79 | 75 |
80 /* Define to 1 if you have the <malloc/malloc.h> header file. */ | 76 /* Define to 1 if you have the <malloc/malloc.h> header file. */ |
81 #undef HAVE_MALLOC_MALLOC_H | 77 #undef HAVE_MALLOC_MALLOC_H |
82 | 78 |
83 /* Define to 1 if you have the <memory.h> header file. */ | 79 /* Define to 1 if you have the <memory.h> header file. */ |
84 #undef HAVE_MEMORY_H | 80 #define HAVE_MEMORY_H 1 |
85 | 81 |
86 /* Define to 1 if you have a working `mmap' system call. */ | 82 /* Define to 1 if you have a working `mmap' system call. */ |
87 #undef HAVE_MMAP | 83 #define HAVE_MMAP 1 |
88 | 84 |
89 /* define if the compiler implements namespaces */ | 85 /* define if the compiler implements namespaces */ |
90 #undef HAVE_NAMESPACES | 86 #define HAVE_NAMESPACES 1 |
91 | 87 |
92 /* Define to 1 if you have the <poll.h> header file. */ | 88 /* Define to 1 if you have the <poll.h> header file. */ |
93 #undef HAVE_POLL_H | 89 #define HAVE_POLL_H 1 |
94 | 90 |
95 /* define if libc has program_invocation_name */ | 91 /* define if libc has program_invocation_name */ |
96 #undef HAVE_PROGRAM_INVOCATION_NAME | 92 /* #undef HAVE_PROGRAM_INVOCATION_NAME */ |
97 | 93 |
98 /* Define if you have POSIX threads libraries and header files. */ | 94 /* Define if you have POSIX threads libraries and header files. */ |
99 #undef HAVE_PTHREAD | 95 #define HAVE_PTHREAD 1 |
100 | 96 |
101 /* Define to 1 if you have the <pwd.h> header file. */ | 97 /* Define to 1 if you have the <pwd.h> header file. */ |
102 #undef HAVE_PWD_H | 98 #define HAVE_PWD_H 1 |
103 | 99 |
104 /* Define to 1 if you have the `sbrk' function. */ | 100 /* Define to 1 if you have the `sbrk' function. */ |
105 #undef HAVE_SBRK | 101 #define HAVE_SBRK 1 |
106 | 102 |
107 /* Define to 1 if you have the <sched.h> header file. */ | 103 /* Define to 1 if you have the <sched.h> header file. */ |
108 #undef HAVE_SCHED_H | 104 #define HAVE_SCHED_H 1 |
109 | 105 |
110 /* Define to 1 if you have the <stdint.h> header file. */ | 106 /* Define to 1 if you have the <stdint.h> header file. */ |
111 #undef HAVE_STDINT_H | 107 #define HAVE_STDINT_H 1 |
112 | 108 |
113 /* Define to 1 if you have the <stdlib.h> header file. */ | 109 /* Define to 1 if you have the <stdlib.h> header file. */ |
114 #undef HAVE_STDLIB_H | 110 #define HAVE_STDLIB_H 1 |
115 | 111 |
116 /* Define to 1 if you have the <strings.h> header file. */ | 112 /* Define to 1 if you have the <strings.h> header file. */ |
117 #undef HAVE_STRINGS_H | 113 #define HAVE_STRINGS_H 1 |
118 | 114 |
119 /* Define to 1 if you have the <string.h> header file. */ | 115 /* Define to 1 if you have the <string.h> header file. */ |
120 #undef HAVE_STRING_H | 116 #define HAVE_STRING_H 1 |
121 | 117 |
122 /* Define to 1 if the system has the type `struct mallinfo'. */ | 118 /* Define to 1 if the system has the type `struct mallinfo'. */ |
123 #undef HAVE_STRUCT_MALLINFO | 119 /* #undef HAVE_STRUCT_MALLINFO */ |
124 | 120 |
125 /* Define to 1 if you have the <sys/cdefs.h> header file. */ | 121 /* Define to 1 if you have the <sys/cdefs.h> header file. */ |
126 #undef HAVE_SYS_CDEFS_H | 122 #define HAVE_SYS_CDEFS_H 1 |
127 | 123 |
128 /* Define to 1 if you have the <sys/malloc.h> header file. */ | 124 /* Define to 1 if you have the <sys/malloc.h> header file. */ |
129 #undef HAVE_SYS_MALLOC_H | 125 #undef HAVE_SYS_MALLOC_H |
130 | 126 |
131 /* Define to 1 if you have the <sys/param.h> header file. */ | 127 /* Define to 1 if you have the <sys/param.h> header file. */ |
132 #undef HAVE_SYS_PARAM_H | 128 #define HAVE_SYS_PARAM_H 1 |
133 | 129 |
134 /* Define to 1 if you have the <sys/prctl.h> header file. */ | 130 /* Define to 1 if you have the <sys/prctl.h> header file. */ |
135 #undef HAVE_SYS_PRCTL_H | 131 /* #undef HAVE_SYS_PRCTL_H */ |
136 | 132 |
137 /* Define to 1 if you have the <sys/resource.h> header file. */ | 133 /* Define to 1 if you have the <sys/resource.h> header file. */ |
138 #undef HAVE_SYS_RESOURCE_H | 134 #define HAVE_SYS_RESOURCE_H 1 |
139 | 135 |
140 /* Define to 1 if you have the <sys/socket.h> header file. */ | 136 /* Define to 1 if you have the <sys/socket.h> header file. */ |
141 #undef HAVE_SYS_SOCKET_H | 137 #define HAVE_SYS_SOCKET_H 1 |
142 | 138 |
143 /* Define to 1 if you have the <sys/stat.h> header file. */ | 139 /* Define to 1 if you have the <sys/stat.h> header file. */ |
144 #undef HAVE_SYS_STAT_H | 140 #define HAVE_SYS_STAT_H 1 |
145 | 141 |
146 /* Define to 1 if you have the <sys/syscall.h> header file. */ | 142 /* Define to 1 if you have the <sys/syscall.h> header file. */ |
147 #undef HAVE_SYS_SYSCALL_H | 143 #define HAVE_SYS_SYSCALL_H 1 |
| 144 |
| 145 /* Define to 1 if you have the <sys/time.h> header file. */ |
| 146 #define HAVE_SYS_TIME_H 1 |
148 | 147 |
149 /* Define to 1 if you have the <sys/types.h> header file. */ | 148 /* Define to 1 if you have the <sys/types.h> header file. */ |
150 #undef HAVE_SYS_TYPES_H | 149 #define HAVE_SYS_TYPES_H 1 |
151 | 150 |
152 /* <sys/ucontext.h> is broken on redhat 7 */ | 151 /* <sys/ucontext.h> is broken on redhat 7 */ |
153 #undef HAVE_SYS_UCONTEXT_H | 152 #define HAVE_SYS_UCONTEXT_H 1 |
154 | 153 |
155 /* Define to 1 if you have the <sys/wait.h> header file. */ | 154 /* Define to 1 if you have the <sys/wait.h> header file. */ |
156 #undef HAVE_SYS_WAIT_H | 155 #define HAVE_SYS_WAIT_H 1 |
157 | 156 |
158 /* Define to 1 if compiler supports __thread */ | 157 /* Define to 1 if compiler supports __thread */ |
159 #undef HAVE_TLS | 158 #define HAVE_TLS 1 |
160 | 159 |
161 /* Define to 1 if you have the <ucontext.h> header file. */ | 160 /* Define to 1 if you have the <ucontext.h> header file. */ |
162 #undef HAVE_UCONTEXT_H | 161 #define HAVE_UCONTEXT_H 1 |
163 | 162 |
164 /* Define to 1 if you have the <unistd.h> header file. */ | 163 /* Define to 1 if you have the <unistd.h> header file. */ |
165 #undef HAVE_UNISTD_H | 164 #define HAVE_UNISTD_H 1 |
166 | 165 |
167 /* Define to 1 if you have the <unwind.h> header file. */ | 166 /* Define to 1 if you have the <unwind.h> header file. */ |
168 #undef HAVE_UNWIND_H | 167 /* #undef HAVE_UNWIND_H */ |
169 | 168 |
170 /* Define to 1 if you have the <valgrind.h> header file. */ | 169 /* Define to 1 if you have the <valgrind.h> header file. */ |
171 #undef HAVE_VALGRIND_H | 170 /* #undef HAVE_VALGRIND_H */ |
172 | 171 |
173 /* define if your compiler has __attribute__ */ | 172 /* define if your compiler has __attribute__ */ |
174 #undef HAVE___ATTRIBUTE__ | 173 #define HAVE___ATTRIBUTE__ 1 |
175 | 174 |
176 /* Define to 1 if compiler supports __environ */ | 175 /* Define to 1 if compiler supports __environ */ |
177 #undef HAVE___ENVIRON | 176 /* #undef HAVE___ENVIRON */ |
178 | 177 |
179 /* Define to 1 if the system has the type `__int64'. */ | 178 /* Define to 1 if the system has the type `__int64'. */ |
180 #undef HAVE___INT64 | 179 /* #undef HAVE___INT64 */ |
181 | 180 |
182 /* prefix where we look for installed files */ | 181 /* prefix where we look for installed files */ |
183 #undef INSTALL_PREFIX | 182 #define INSTALL_PREFIX "/usr/local" |
184 | 183 |
185 /* Define to 1 if int32_t is equivalent to intptr_t */ | 184 /* Define to 1 if int32_t is equivalent to intptr_t */ |
186 #undef INT32_EQUALS_INTPTR | 185 #if defined(__i386__) |
| 186 #define INT32_EQUALS_INTPTR 1 |
| 187 #endif |
187 | 188 |
188 /* Define to the sub-directory in which libtool stores uninstalled libraries. | 189 /* Define to the sub-directory in which libtool stores uninstalled libraries. |
189 */ | 190 */ |
190 #undef LT_OBJDIR | 191 #undef LT_OBJDIR |
191 | 192 |
192 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ | 193 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ |
193 #undef NO_MINUS_C_MINUS_O | 194 /* #undef NO_MINUS_C_MINUS_O */ |
194 | 195 |
195 /* Name of package */ | 196 /* Name of package */ |
196 #undef PACKAGE | 197 #define PACKAGE "google-perftools" |
197 | 198 |
198 /* Define to the address where bug reports for this package should be sent. */ | 199 /* Define to the address where bug reports for this package should be sent. */ |
199 #undef PACKAGE_BUGREPORT | 200 #define PACKAGE_BUGREPORT "opensource@google.com" |
200 | 201 |
201 /* Define to the full name of this package. */ | 202 /* Define to the full name of this package. */ |
202 #undef PACKAGE_NAME | 203 #define PACKAGE_NAME "google-perftools" |
203 | 204 |
204 /* Define to the full name and version of this package. */ | 205 /* Define to the full name and version of this package. */ |
205 #undef PACKAGE_STRING | 206 #define PACKAGE_STRING "google-perftools 1.7" |
206 | 207 |
207 /* Define to the one symbol short name of this package. */ | 208 /* Define to the one symbol short name of this package. */ |
208 #undef PACKAGE_TARNAME | 209 #define PACKAGE_TARNAME "google-perftools" |
209 | 210 |
210 /* Define to the home page for this package. */ | 211 /* Define to the home page for this package. */ |
211 #undef PACKAGE_URL | 212 #define PACKAGE_URL "" |
212 | 213 |
213 /* Define to the version of this package. */ | 214 /* Define to the version of this package. */ |
214 #undef PACKAGE_VERSION | 215 #define PACKAGE_VERSION "1.7" |
215 | 216 |
216 /* How to access the PC from a struct ucontext */ | 217 /* How to access the PC from a struct ucontext */ |
217 #undef PC_FROM_UCONTEXT | 218 #if defined(__i386__) |
| 219 #define PC_FROM_UCONTEXT uc_mcontext.mc_eip |
| 220 #else |
| 221 #define PC_FROM_UCONTEXT uc_mcontext.mc_rip |
| 222 #endif |
218 | 223 |
219 /* Always the empty-string on non-windows systems. On windows, should be | 224 /* Always the empty-string on non-windows systems. On windows, should be |
220 "__declspec(dllexport)". This way, when we compile the dll, we export our | 225 "__declspec(dllexport)". This way, when we compile the dll, we export our |
221 functions/classes. It's safe to define this here because config.h is only | 226 functions/classes. It's safe to define this here because config.h is only |
222 used internally, to compile the DLL, and every DLL source file #includes | 227 used internally, to compile the DLL, and every DLL source file #includes |
223 "config.h" before anything else. */ | 228 "config.h" before anything else. */ |
224 #undef PERFTOOLS_DLL_DECL | 229 #define PERFTOOLS_DLL_DECL /**/ |
225 | 230 |
226 /* printf format code for printing a size_t and ssize_t */ | 231 #if defined(__i386__) |
227 #undef PRIdS | 232 /* printf format code for printing a size_t and ssize_t */ |
228 | 233 #define PRIdS "d" |
229 /* printf format code for printing a size_t and ssize_t */ | 234 |
230 #undef PRIuS | 235 /* printf format code for printing a size_t and ssize_t */ |
231 | 236 #define PRIuS "u" |
232 /* printf format code for printing a size_t and ssize_t */ | 237 |
233 #undef PRIxS | 238 /* printf format code for printing a size_t and ssize_t */ |
| 239 #define PRIxS "x" |
| 240 #else |
| 241 /* printf format code for printing a size_t and ssize_t */ |
| 242 #define PRIdS "ld" |
| 243 |
| 244 /* printf format code for printing a size_t and ssize_t */ |
| 245 #define PRIuS "lu" |
| 246 |
| 247 /* printf format code for printing a size_t and ssize_t */ |
| 248 #define PRIxS "lx" |
| 249 #endif |
234 | 250 |
235 /* Define to necessary symbol if this constant uses a non-standard name on | 251 /* Define to necessary symbol if this constant uses a non-standard name on |
236 your system. */ | 252 your system. */ |
237 #undef PTHREAD_CREATE_JOINABLE | 253 /* #undef PTHREAD_CREATE_JOINABLE */ |
238 | 254 |
239 /* Define to 1 if you have the ANSI C header files. */ | 255 /* Define to 1 if you have the ANSI C header files. */ |
240 #undef STDC_HEADERS | 256 #define STDC_HEADERS 1 |
241 | 257 |
242 /* the namespace where STL code like vector<> is defined */ | 258 /* the namespace where STL code like vector<> is defined */ |
243 #undef STL_NAMESPACE | 259 #define STL_NAMESPACE std |
244 | 260 |
245 /* Version number of package */ | 261 /* Version number of package */ |
246 #undef VERSION | 262 #define VERSION "1.7" |
247 | 263 |
248 /* C99 says: define this to get the PRI... macros from stdint.h */ | 264 /* C99 says: define this to get the PRI... macros from stdint.h */ |
249 #ifndef __STDC_FORMAT_MACROS | 265 #ifndef __STDC_FORMAT_MACROS |
250 # define __STDC_FORMAT_MACROS 1 | 266 # define __STDC_FORMAT_MACROS 1 |
251 #endif | 267 #endif |
252 | 268 |
253 /* Define to `__inline__' or `__inline' if that's what the C compiler | 269 /* Define to `__inline__' or `__inline' if that's what the C compiler |
254 calls it, or to nothing if 'inline' is not supported under any name. */ | 270 calls it, or to nothing if 'inline' is not supported under any name. */ |
255 #ifndef __cplusplus | 271 #ifndef __cplusplus |
256 #undef inline | 272 /* #undef inline */ |
257 #endif | 273 #endif |
258 | 274 |
259 | 275 |
260 #ifdef __MINGW32__ | 276 #ifdef __MINGW32__ |
261 #include "windows/mingw.h" | 277 #include "windows/mingw.h" |
262 #endif | 278 #endif |
263 | |
264 #endif /* #ifndef GOOGLE_PERFTOOLS_CONFIG_H_ */ | |
265 | |
OLD | NEW |