corosync  2.4.2
config.h
Go to the documentation of this file.
1 /* include/corosync/config.h. Generated from config.h.in by configure. */
2 /* include/corosync/config.h.in. Generated from configure.ac by autoheader. */
3 
4 /* building in place */
5 #define BUILDING_IN_PLACE 1
6 
7 /* Define to 1 if the `closedir' function returns void instead of `int'. */
8 /* #undef CLOSEDIR_VOID */
9 
10 /* corosync config directory */
11 #define COROSYSCONFDIR "/etc/corosync"
12 
13 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
14  systems. This function is required for `alloca.c' support on those systems.
15  */
16 /* #undef CRAY_STACKSEG_END */
17 
18 /* Define to 1 if using `alloca.c'. */
19 /* #undef C_ALLOCA */
20 
21 /* Compiling Debugging code */
22 /* #undef DEBUG */
23 
24 /* Build in support for sending SNMP traps */
25 #define ENABLE_SNMP 1
26 
27 /* Define to 1 if you have the `alarm' function. */
28 #define HAVE_ALARM 1
29 
30 /* Define to 1 if you have `alloca', as a function or macro. */
31 #define HAVE_ALLOCA 1
32 
33 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
34  */
35 #define HAVE_ALLOCA_H 1
36 
37 /* Define to 1 if you have the `alphasort' function. */
38 #define HAVE_ALPHASORT 1
39 
40 /* Define to 1 if you have the <arpa/inet.h> header file. */
41 #define HAVE_ARPA_INET_H 1
42 
43 /* Define to 1 if you have the `atexit' function. */
44 #define HAVE_ATEXIT 1
45 
46 /* Define to 1 if you have the `bzero' function. */
47 #define HAVE_BZERO 1
48 
49 /* Define to 1 if you have the `clock_gettime' function. */
50 #define HAVE_CLOCK_GETTIME 1
51 
52 /* have dbus */
53 #define HAVE_DBUS 1
54 
55 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
56  */
57 #define HAVE_DIRENT_H 1
58 
59 /* Define to 1 if you have the <dlfcn.h> header file. */
60 #define HAVE_DLFCN_H 1
61 
62 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
63 /* #undef HAVE_DOPRNT */
64 
65 /* Define to 1 if you have the `dup2' function. */
66 #define HAVE_DUP2 1
67 
68 /* Define to 1 if you have the `endgrent' function. */
69 #define HAVE_ENDGRENT 1
70 
71 /* Define to 1 if you have the `endpwent' function. */
72 #define HAVE_ENDPWENT 1
73 
74 /* Define to 1 if you have the `fcntl' function. */
75 #define HAVE_FCNTL 1
76 
77 /* Define to 1 if you have the <fcntl.h> header file. */
78 #define HAVE_FCNTL_H 1
79 
80 /* Define to 1 if you have the `fdatasync' function. */
81 #define HAVE_FDATASYNC 1
82 
83 /* Define to 1 if you have the `fork' function. */
84 #define HAVE_FORK 1
85 
86 /* Define to 1 if you have the `ftruncate' function. */
87 #define HAVE_FTRUNCATE 1
88 
89 /* Define to 1 if you have the `getcwd' function. */
90 #define HAVE_GETCWD 1
91 
92 /* Define to 1 if you have the `gethostname' function. */
93 #define HAVE_GETHOSTNAME 1
94 
95 /* Define to 1 if you have the `getifaddrs' function. */
96 #define HAVE_GETIFADDRS 1
97 
98 /* Define to 1 if you have the <getopt.h> header file. */
99 #define HAVE_GETOPT_H 1
100 
101 /* Define to 1 if you have the `getpagesize' function. */
102 #define HAVE_GETPAGESIZE 1
103 
104 /* Define to 1 if you have the `getpeereid' function. */
105 /* #undef HAVE_GETPEEREID */
106 
107 /* Define to 1 if you have the `getpeerucred' function. */
108 /* #undef HAVE_GETPEERUCRED */
109 
110 /* Define to 1 if you have the `gettimeofday' function. */
111 #define HAVE_GETTIMEOFDAY 1
112 
113 /* Define to 1 if you have the <ifaddrs.h> header file. */
114 #define HAVE_IFADDRS_H 1
115 
116 /* Define to 1 if you have the `inet_ntoa' function. */
117 #define HAVE_INET_NTOA 1
118 
119 /* Define to 1 if you have the <inttypes.h> header file. */
120 #define HAVE_INTTYPES_H 1
121 
122 /* Define to 1 if you have the `nsl' library (-lnsl). */
123 /* #undef HAVE_LIBNSL */
124 
125 /* Define to 1 if you have the `pthread' library (-lpthread). */
126 #define HAVE_LIBPTHREAD 1
127 
128 /* Define to 1 if you have the `rt' library (-lrt). */
129 #define HAVE_LIBRT 1
130 
131 /* Define to 1 if you have the `socket' library (-lsocket). */
132 /* #undef HAVE_LIBSOCKET */
133 
134 /* have libstatgrab >= 0.90 */
135 #define HAVE_LIBSTATGRAB_GE_090 1
136 
137 /* Define to 1 if you have the <limits.h> header file. */
138 #define HAVE_LIMITS_H 1
139 
140 /* Define to 1 if you have the `localtime_r' function. */
141 #define HAVE_LOCALTIME_R 1
142 
143 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
144  to 0 otherwise. */
145 #define HAVE_MALLOC 1
146 
147 /* Define to 1 if you have the <malloc.h> header file. */
148 #define HAVE_MALLOC_H 1
149 
150 /* Define to 1 if you have the `memmove' function. */
151 #define HAVE_MEMMOVE 1
152 
153 /* Define to 1 if you have the <memory.h> header file. */
154 #define HAVE_MEMORY_H 1
155 
156 /* Define to 1 if you have the `memset' function. */
157 #define HAVE_MEMSET 1
158 
159 /* Define to 1 if you have the `mkdir' function. */
160 #define HAVE_MKDIR 1
161 
162 /* Define to 1 if you have a working `mmap' system call. */
163 #define HAVE_MMAP 1
164 
165 /* have resource monitoring */
166 #define HAVE_MONITORING 1
167 
168 /* msghdr has msg_accrights */
169 /* #undef HAVE_MSGHDR_ACCRIGHTS */
170 
171 /* msghdr has msg_accrightslen */
172 /* #undef HAVE_MSGHDR_ACCRIGHTSLEN */
173 
174 /* msghdr has msg_control */
175 #define HAVE_MSGHDR_CONTROL 1
176 
177 /* msghdr has msg_controllen */
178 #define HAVE_MSGHDR_CONTROLLEN 1
179 
180 /* msghdr has msg_flags */
181 #define HAVE_MSGHDR_FLAGS 1
182 
183 /* Define to 1 if you have the `munmap' function. */
184 #define HAVE_MUNMAP 1
185 
186 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
187 /* #undef HAVE_NDIR_H */
188 
189 /* Define to 1 if you have the <netdb.h> header file. */
190 #define HAVE_NETDB_H 1
191 
192 /* Define to 1 if you have the <netinet/in.h> header file. */
193 #define HAVE_NETINET_IN_H 1
194 
195 /* Define to 1 if you have the `netsnmp_tdomain_transport' function. */
196 /* #undef HAVE_NETSNMP_TDOMAIN_TRANSPORT */
197 
198 /* Define to 1 if you have the `netsnmp_transport_open_client' function. */
199 #define HAVE_NETSNMP_TRANSPORT_OPEN_CLIENT 1
200 
201 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
202 #define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
203 
204 /* Define to 1 if you have the `pthread_setschedparam' function. */
205 #define HAVE_PTHREAD_SETSCHEDPARAM 1
206 
207 /* have qb_log_thread_priority_set */
208 #define HAVE_QB_LOG_THREAD_PRIORITY_SET 1
209 
210 /* have rdmacm */
211 #define HAVE_RDMA 1
212 
213 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
214  and to 0 otherwise. */
215 #define HAVE_REALLOC 1
216 
217 /* Define to 1 if you have the `scandir' function. */
218 #define HAVE_SCANDIR 1
219 
220 /* Define to 1 if you have the `sched_get_priority_max' function. */
221 #define HAVE_SCHED_GET_PRIORITY_MAX 1
222 
223 /* Define to 1 if you have the `sched_setscheduler' function. */
224 #define HAVE_SCHED_SETSCHEDULER 1
225 
226 /* Define to 1 if you have the `select' function. */
227 #define HAVE_SELECT 1
228 
229 /* have small_memory_footprint */
230 /* #undef HAVE_SMALL_MEMORY_FOOTPRINT */
231 
232 /* Define to 1 if you have the `socket' function. */
233 #define HAVE_SOCKET 1
234 
235 /* sockaddr_in6 needs sin6_len */
236 /* #undef HAVE_SOCK_SIN6_LEN */
237 
238 /* sockaddr_in needs sin_len */
239 /* #undef HAVE_SOCK_SIN_LEN */
240 
241 /* Define to 1 if you have the <stddef.h> header file. */
242 #define HAVE_STDDEF_H 1
243 
244 /* Define to 1 if you have the <stdint.h> header file. */
245 #define HAVE_STDINT_H 1
246 
247 /* Define to 1 if you have the <stdlib.h> header file. */
248 #define HAVE_STDLIB_H 1
249 
250 /* Define to 1 if you have the `strcasecmp' function. */
251 #define HAVE_STRCASECMP 1
252 
253 /* Define to 1 if you have the `strchr' function. */
254 #define HAVE_STRCHR 1
255 
256 /* Define to 1 if you have the `strdup' function. */
257 #define HAVE_STRDUP 1
258 
259 /* Define to 1 if you have the `strerror' function. */
260 #define HAVE_STRERROR 1
261 
262 /* Define to 1 if you have the <strings.h> header file. */
263 #define HAVE_STRINGS_H 1
264 
265 /* Define to 1 if you have the <string.h> header file. */
266 #define HAVE_STRING_H 1
267 
268 /* Define to 1 if you have the `strrchr' function. */
269 #define HAVE_STRRCHR 1
270 
271 /* Define to 1 if you have the `strspn' function. */
272 #define HAVE_STRSPN 1
273 
274 /* Define to 1 if you have the `strstr' function. */
275 #define HAVE_STRSTR 1
276 
277 /* Define to 1 if you have the `strtol' function. */
278 #define HAVE_STRTOL 1
279 
280 /* Define to 1 if you have the <syslog.h> header file. */
281 #define HAVE_SYSLOG_H 1
282 
283 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
284  */
285 /* #undef HAVE_SYS_DIR_H */
286 
287 /* Define to 1 if you have the <sys/file.h> header file. */
288 #define HAVE_SYS_FILE_H 1
289 
290 /* Define to 1 if you have the <sys/ioctl.h> header file. */
291 #define HAVE_SYS_IOCTL_H 1
292 
293 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
294  */
295 /* #undef HAVE_SYS_NDIR_H */
296 
297 /* Define to 1 if you have the <sys/param.h> header file. */
298 #define HAVE_SYS_PARAM_H 1
299 
300 /* Define to 1 if you have the <sys/select.h> header file. */
301 #define HAVE_SYS_SELECT_H 1
302 
303 /* Define to 1 if you have the <sys/socket.h> header file. */
304 #define HAVE_SYS_SOCKET_H 1
305 
306 /* Define to 1 if you have the <sys/stat.h> header file. */
307 #define HAVE_SYS_STAT_H 1
308 
309 /* Define to 1 if you have the <sys/time.h> header file. */
310 #define HAVE_SYS_TIME_H 1
311 
312 /* Define to 1 if you have the <sys/types.h> header file. */
313 #define HAVE_SYS_TYPES_H 1
314 
315 /* Define to 1 if you have the <sys/uio.h> header file. */
316 #define HAVE_SYS_UIO_H 1
317 
318 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
319 #define HAVE_SYS_WAIT_H 1
320 
321 /* have testagents */
322 #define HAVE_TESTAGENTS 1
323 
324 /* Define to 1 if you have the <unistd.h> header file. */
325 #define HAVE_UNISTD_H 1
326 
327 /* Define to 1 if you have the <utmpx.h> header file. */
328 #define HAVE_UTMPX_H 1
329 
330 /* Define to 1 if you have the `vfork' function. */
331 #define HAVE_VFORK 1
332 
333 /* Define to 1 if you have the <vfork.h> header file. */
334 /* #undef HAVE_VFORK_H */
335 
336 /* Define to 1 if you have the `vprintf' function. */
337 #define HAVE_VPRINTF 1
338 
339 /* have watchdog */
340 #define HAVE_WATCHDOG 1
341 
342 /* Define to 1 if `fork' works. */
343 #define HAVE_WORKING_FORK 1
344 
345 /* Define to 1 if `vfork' works. */
346 #define HAVE_WORKING_VFORK 1
347 
348 /* localstate directory */
349 #define LOCALSTATEDIR "/var"
350 
351 /* Define to the sub-directory where libtool stores uninstalled libraries. */
352 #define LT_OBJDIR ".libs/"
353 
354 /* have net-snmp5.4 over */
355 #define NETSNMPV54
356 
357 /* Name of package */
358 #define PACKAGE "corosync"
359 
360 /* Define to the address where bug reports for this package should be sent. */
361 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
362 
363 /* corosync built-in features */
364 #define PACKAGE_FEATURES " dbus testagents rdma monitoring watchdog augeas systemd xmlconf snmp pie relro bindnow"
365 
366 /* Define to the full name of this package. */
367 #define PACKAGE_NAME "corosync"
368 
369 /* Define to the full name and version of this package. */
370 #define PACKAGE_STRING "corosync 2.4.2"
371 
372 /* Define to the one symbol short name of this package. */
373 #define PACKAGE_TARNAME "corosync"
374 
375 /* Define to the home page for this package. */
376 #define PACKAGE_URL ""
377 
378 /* Define to the version of this package. */
379 #define PACKAGE_VERSION "2.4.2"
380 
381 /* Define to the type of arg 1 for `select'. */
382 #define SELECT_TYPE_ARG1 int
383 
384 /* Define to the type of args 2, 3 and 4 for `select'. */
385 #define SELECT_TYPE_ARG234 (fd_set *)
386 
387 /* Define to the type of arg 5 for `select'. */
388 #define SELECT_TYPE_ARG5 (struct timeval *)
389 
390 /* If using the C implementation of alloca, define if you know the
391  direction of stack growth for your system; otherwise it will be
392  automatically deduced at runtime.
393  STACK_DIRECTION > 0 => grows toward higher addresses
394  STACK_DIRECTION < 0 => grows toward lower addresses
395  STACK_DIRECTION = 0 => direction of growth unknown */
396 /* #undef STACK_DIRECTION */
397 
398 /* Define to 1 if you have the ANSI C header files. */
399 #define STDC_HEADERS 1
400 
401 /* Enable extensions on AIX 3, Interix. */
402 #ifndef _ALL_SOURCE
403 # define _ALL_SOURCE 1
404 #endif
405 /* Enable GNU extensions on systems that have them. */
406 #ifndef _GNU_SOURCE
407 # define _GNU_SOURCE 1
408 #endif
409 /* Enable threading extensions on Solaris. */
410 #ifndef _POSIX_PTHREAD_SEMANTICS
411 # define _POSIX_PTHREAD_SEMANTICS 1
412 #endif
413 /* Enable extensions on HP NonStop. */
414 #ifndef _TANDEM_SOURCE
415 # define _TANDEM_SOURCE 1
416 #endif
417 /* Enable general extensions on Solaris. */
418 #ifndef __EXTENSIONS__
419 # define __EXTENSIONS__ 1
420 #endif
421 
422 
423 /* Version number of package */
424 #define VERSION "2.4.2"
425 
426 /* Define to 1 if on MINIX. */
427 /* #undef _MINIX */
428 
429 /* Define to 2 if the system does not provide POSIX.1 features except with
430  this defined. */
431 /* #undef _POSIX_1_SOURCE */
432 
433 /* Define to 1 if you need to in order for `stat' and other things to work. */
434 /* #undef _POSIX_SOURCE */
435 
436 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
437  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
438  #define below would cause a syntax error. */
439 /* #undef _UINT32_T */
440 
441 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
442  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
443  #define below would cause a syntax error. */
444 /* #undef _UINT64_T */
445 
446 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
447  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
448  #define below would cause a syntax error. */
449 /* #undef _UINT8_T */
450 
451 /* Define to empty if `const' does not conform to ANSI C. */
452 /* #undef const */
453 
454 /* Define to `int' if <sys/types.h> doesn't define. */
455 /* #undef gid_t */
456 
457 /* Define to `__inline__' or `__inline' if that's what the C compiler
458  calls it, or to nothing if 'inline' is not supported under any name. */
459 #ifndef __cplusplus
460 /* #undef inline */
461 #endif
462 
463 /* Define to the type of a signed integer type of width exactly 16 bits if
464  such a type exists and the standard includes do not define it. */
465 /* #undef int16_t */
466 
467 /* Define to the type of a signed integer type of width exactly 32 bits if
468  such a type exists and the standard includes do not define it. */
469 /* #undef int32_t */
470 
471 /* Define to the type of a signed integer type of width exactly 64 bits if
472  such a type exists and the standard includes do not define it. */
473 /* #undef int64_t */
474 
475 /* Define to the type of a signed integer type of width exactly 8 bits if such
476  a type exists and the standard includes do not define it. */
477 /* #undef int8_t */
478 
479 /* Define to rpl_malloc if the replacement function should be used. */
480 /* #undef malloc */
481 
482 /* Define to `int' if <sys/types.h> does not define. */
483 /* #undef pid_t */
484 
485 /* Define to rpl_realloc if the replacement function should be used. */
486 /* #undef realloc */
487 
488 /* Define to `unsigned int' if <sys/types.h> does not define. */
489 /* #undef size_t */
490 
491 /* Define to `int' if <sys/types.h> does not define. */
492 /* #undef ssize_t */
493 
494 /* Define to `int' if <sys/types.h> doesn't define. */
495 /* #undef uid_t */
496 
497 /* Define to the type of an unsigned integer type of width exactly 16 bits if
498  such a type exists and the standard includes do not define it. */
499 /* #undef uint16_t */
500 
501 /* Define to the type of an unsigned integer type of width exactly 32 bits if
502  such a type exists and the standard includes do not define it. */
503 /* #undef uint32_t */
504 
505 /* Define to the type of an unsigned integer type of width exactly 64 bits if
506  such a type exists and the standard includes do not define it. */
507 /* #undef uint64_t */
508 
509 /* Define to the type of an unsigned integer type of width exactly 8 bits if
510  such a type exists and the standard includes do not define it. */
511 /* #undef uint8_t */
512 
513 /* Define as `fork' if `vfork' does not work. */
514 /* #undef vfork */
515 
516 /* Define to empty if the keyword `volatile' does not work. Warning: valid
517  code using `volatile' can become incorrect without. Disable with care. */
518 /* #undef volatile */