corosync  2.4.6
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 1 if using 'alloca.c'. */
14 /* #undef C_ALLOCA */
15 
16 /* Compiling Debugging code */
17 /* #undef DEBUG */
18 
19 /* Build in support for sending SNMP traps */
20 #define ENABLE_SNMP 1
21 
22 /* Define to 1 if you have the `alarm' function. */
23 #define HAVE_ALARM 1
24 
25 /* Define to 1 if you have 'alloca', as a function or macro. */
26 #define HAVE_ALLOCA 1
27 
28 /* Define to 1 if <alloca.h> works. */
29 #define HAVE_ALLOCA_H 1
30 
31 /* Define to 1 if you have the `alphasort' function. */
32 #define HAVE_ALPHASORT 1
33 
34 /* Define to 1 if you have the <arpa/inet.h> header file. */
35 #define HAVE_ARPA_INET_H 1
36 
37 /* Define to 1 if you have the `atexit' function. */
38 #define HAVE_ATEXIT 1
39 
40 /* Define to 1 if you have the `bzero' function. */
41 #define HAVE_BZERO 1
42 
43 /* Define to 1 if you have the `clock_gettime' function. */
44 #define HAVE_CLOCK_GETTIME 1
45 
46 /* have dbus */
47 #define HAVE_DBUS 1
48 
49 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
50  */
51 #define HAVE_DIRENT_H 1
52 
53 /* Define to 1 if you have the <dlfcn.h> header file. */
54 #define HAVE_DLFCN_H 1
55 
56 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
57 /* #undef HAVE_DOPRNT */
58 
59 /* Define to 1 if you have the `dup2' function. */
60 #define HAVE_DUP2 1
61 
62 /* Define to 1 if you have the `endgrent' function. */
63 #define HAVE_ENDGRENT 1
64 
65 /* Define to 1 if you have the `endpwent' function. */
66 #define HAVE_ENDPWENT 1
67 
68 /* Define to 1 if you have the `fcntl' function. */
69 #define HAVE_FCNTL 1
70 
71 /* Define to 1 if you have the <fcntl.h> header file. */
72 #define HAVE_FCNTL_H 1
73 
74 /* Define to 1 if you have the `fdatasync' function. */
75 #define HAVE_FDATASYNC 1
76 
77 /* Define to 1 if you have the `fork' function. */
78 #define HAVE_FORK 1
79 
80 /* Define to 1 if you have the `ftruncate' function. */
81 #define HAVE_FTRUNCATE 1
82 
83 /* Define to 1 if you have the `getcwd' function. */
84 #define HAVE_GETCWD 1
85 
86 /* Define to 1 if you have the `gethostname' function. */
87 #define HAVE_GETHOSTNAME 1
88 
89 /* Define to 1 if you have the `getifaddrs' function. */
90 #define HAVE_GETIFADDRS 1
91 
92 /* Define to 1 if you have the <getopt.h> header file. */
93 #define HAVE_GETOPT_H 1
94 
95 /* Define to 1 if you have the `getpagesize' function. */
96 #define HAVE_GETPAGESIZE 1
97 
98 /* Define to 1 if you have the `getpeereid' function. */
99 /* #undef HAVE_GETPEEREID */
100 
101 /* Define to 1 if you have the `getpeerucred' function. */
102 /* #undef HAVE_GETPEERUCRED */
103 
104 /* Define to 1 if you have the `gettimeofday' function. */
105 #define HAVE_GETTIMEOFDAY 1
106 
107 /* Define to 1 if you have the <ifaddrs.h> header file. */
108 #define HAVE_IFADDRS_H 1
109 
110 /* Define to 1 if you have the `inet_ntoa' function. */
111 #define HAVE_INET_NTOA 1
112 
113 /* Define to 1 if you have the <inttypes.h> header file. */
114 #define HAVE_INTTYPES_H 1
115 
116 /* have libcgroup */
117 #define HAVE_LIBCGROUP 1
118 
119 /* Define to 1 if you have the `nsl' library (-lnsl). */
120 /* #undef HAVE_LIBNSL */
121 
122 /* Define to 1 if you have the `pthread' library (-lpthread). */
123 #define HAVE_LIBPTHREAD 1
124 
125 /* Define to 1 if you have the `rt' library (-lrt). */
126 #define HAVE_LIBRT 1
127 
128 /* Define to 1 if you have the `socket' library (-lsocket). */
129 /* #undef HAVE_LIBSOCKET */
130 
131 /* have libstatgrab >= 0.90 */
132 #define HAVE_LIBSTATGRAB_GE_090 1
133 
134 /* Define to 1 if you have the <limits.h> header file. */
135 #define HAVE_LIMITS_H 1
136 
137 /* Define to 1 if you have the `localtime_r' function. */
138 #define HAVE_LOCALTIME_R 1
139 
140 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
141  to 0 otherwise. */
142 #define HAVE_MALLOC 1
143 
144 /* Define to 1 if you have the <malloc.h> header file. */
145 #define HAVE_MALLOC_H 1
146 
147 /* Define to 1 if you have the `memmove' function. */
148 #define HAVE_MEMMOVE 1
149 
150 /* Define to 1 if you have the `memset' function. */
151 #define HAVE_MEMSET 1
152 
153 /* Define to 1 if you have the <minix/config.h> header file. */
154 /* #undef HAVE_MINIX_CONFIG_H */
155 
156 /* Define to 1 if you have the `mkdir' function. */
157 #define HAVE_MKDIR 1
158 
159 /* Define to 1 if you have a working `mmap' system call. */
160 #define HAVE_MMAP 1
161 
162 /* have resource monitoring */
163 #define HAVE_MONITORING 1
164 
165 /* msghdr has msg_accrights */
166 /* #undef HAVE_MSGHDR_ACCRIGHTS */
167 
168 /* msghdr has msg_accrightslen */
169 /* #undef HAVE_MSGHDR_ACCRIGHTSLEN */
170 
171 /* msghdr has msg_control */
172 #define HAVE_MSGHDR_CONTROL 1
173 
174 /* msghdr has msg_controllen */
175 #define HAVE_MSGHDR_CONTROLLEN 1
176 
177 /* msghdr has msg_flags */
178 #define HAVE_MSGHDR_FLAGS 1
179 
180 /* Define to 1 if you have the `munmap' function. */
181 #define HAVE_MUNMAP 1
182 
183 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
184 /* #undef HAVE_NDIR_H */
185 
186 /* Define to 1 if you have the <netdb.h> header file. */
187 #define HAVE_NETDB_H 1
188 
189 /* Define to 1 if you have the <netinet/in.h> header file. */
190 #define HAVE_NETINET_IN_H 1
191 
192 /* Define to 1 if you have the `netsnmp_tdomain_transport' function. */
193 /* #undef HAVE_NETSNMP_TDOMAIN_TRANSPORT */
194 
195 /* Define to 1 if you have the `netsnmp_transport_open_client' function. */
196 #define HAVE_NETSNMP_TRANSPORT_OPEN_CLIENT 1
197 
198 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
199 #define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
200 
201 /* Define to 1 if you have the `pthread_setschedparam' function. */
202 #define HAVE_PTHREAD_SETSCHEDPARAM 1
203 
204 /* have qb_log_thread_priority_set */
205 #define HAVE_QB_LOG_THREAD_PRIORITY_SET 1
206 
207 /* have rdmacm */
208 #define HAVE_RDMA 1
209 
210 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
211  and to 0 otherwise. */
212 #define HAVE_REALLOC 1
213 
214 /* Define to 1 if you have the `scandir' function. */
215 #define HAVE_SCANDIR 1
216 
217 /* Define to 1 if you have the `sched_get_priority_max' function. */
218 #define HAVE_SCHED_GET_PRIORITY_MAX 1
219 
220 /* Define to 1 if you have the `sched_setscheduler' function. */
221 #define HAVE_SCHED_SETSCHEDULER 1
222 
223 /* Define to 1 if you have the `select' function. */
224 #define HAVE_SELECT 1
225 
226 /* have small_memory_footprint */
227 /* #undef HAVE_SMALL_MEMORY_FOOTPRINT */
228 
229 /* Define to 1 if you have the `socket' function. */
230 #define HAVE_SOCKET 1
231 
232 /* sockaddr_in6 needs sin6_len */
233 /* #undef HAVE_SOCK_SIN6_LEN */
234 
235 /* sockaddr_in needs sin_len */
236 /* #undef HAVE_SOCK_SIN_LEN */
237 
238 /* Define to 1 if you have the <stddef.h> header file. */
239 #define HAVE_STDDEF_H 1
240 
241 /* Define to 1 if you have the <stdint.h> header file. */
242 #define HAVE_STDINT_H 1
243 
244 /* Define to 1 if you have the <stdio.h> header file. */
245 #define HAVE_STDIO_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 you have the <wchar.h> header file. */
343 #define HAVE_WCHAR_H 1
344 
345 /* Define to 1 if `fork' works. */
346 #define HAVE_WORKING_FORK 1
347 
348 /* Define to 1 if `vfork' works. */
349 #define HAVE_WORKING_VFORK 1
350 
351 /* localstate directory */
352 #define LOCALSTATEDIR "/var"
353 
354 /* Define to the sub-directory where libtool stores uninstalled libraries. */
355 #define LT_OBJDIR ".libs/"
356 
357 /* have net-snmp5.4 over */
358 #define NETSNMPV54
359 
360 /* Name of package */
361 #define PACKAGE "corosync"
362 
363 /* Define to the address where bug reports for this package should be sent. */
364 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
365 
366 /* corosync built-in features */
367 #define PACKAGE_FEATURES " dbus testagents rdma monitoring watchdog augeas systemd xmlconf qdevices qnetd snmp libcgroup pie relro bindnow"
368 
369 /* Define to the full name of this package. */
370 #define PACKAGE_NAME "corosync"
371 
372 /* Define to the full name and version of this package. */
373 #define PACKAGE_STRING "corosync 2.4.6"
374 
375 /* Define to the one symbol short name of this package. */
376 #define PACKAGE_TARNAME "corosync"
377 
378 /* Define to the home page for this package. */
379 #define PACKAGE_URL ""
380 
381 /* Define to the version of this package. */
382 #define PACKAGE_VERSION "2.4.6"
383 
384 /* Define to the type of arg 1 for `select'. */
385 #define SELECT_TYPE_ARG1 int
386 
387 /* Define to the type of args 2, 3 and 4 for `select'. */
388 #define SELECT_TYPE_ARG234 (fd_set *)
389 
390 /* Define to the type of arg 5 for `select'. */
391 #define SELECT_TYPE_ARG5 (struct timeval *)
392 
393 /* If using the C implementation of alloca, define if you know the
394  direction of stack growth for your system; otherwise it will be
395  automatically deduced at runtime.
396  STACK_DIRECTION > 0 => grows toward higher addresses
397  STACK_DIRECTION < 0 => grows toward lower addresses
398  STACK_DIRECTION = 0 => direction of growth unknown */
399 /* #undef STACK_DIRECTION */
400 
401 /* Define to 1 if all of the C90 standard headers exist (not just the ones
402  required in a freestanding environment). This macro is provided for
403  backward compatibility; new code need not use it. */
404 #define STDC_HEADERS 1
405 
406 /* Enable extensions on AIX 3, Interix. */
407 #ifndef _ALL_SOURCE
408 # define _ALL_SOURCE 1
409 #endif
410 /* Enable general extensions on macOS. */
411 #ifndef _DARWIN_C_SOURCE
412 # define _DARWIN_C_SOURCE 1
413 #endif
414 /* Enable general extensions on Solaris. */
415 #ifndef __EXTENSIONS__
416 # define __EXTENSIONS__ 1
417 #endif
418 /* Enable GNU extensions on systems that have them. */
419 #ifndef _GNU_SOURCE
420 # define _GNU_SOURCE 1
421 #endif
422 /* Enable X/Open compliant socket functions that do not require linking
423  with -lxnet on HP-UX 11.11. */
424 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
425 # define _HPUX_ALT_XOPEN_SOCKET_API 1
426 #endif
427 /* Identify the host operating system as Minix.
428  This macro does not affect the system headers' behavior.
429  A future release of Autoconf may stop defining this macro. */
430 #ifndef _MINIX
431 /* # undef _MINIX */
432 #endif
433 /* Enable general extensions on NetBSD.
434  Enable NetBSD compatibility extensions on Minix. */
435 #ifndef _NETBSD_SOURCE
436 # define _NETBSD_SOURCE 1
437 #endif
438 /* Enable OpenBSD compatibility extensions on NetBSD.
439  Oddly enough, this does nothing on OpenBSD. */
440 #ifndef _OPENBSD_SOURCE
441 # define _OPENBSD_SOURCE 1
442 #endif
443 /* Define to 1 if needed for POSIX-compatible behavior. */
444 #ifndef _POSIX_SOURCE
445 /* # undef _POSIX_SOURCE */
446 #endif
447 /* Define to 2 if needed for POSIX-compatible behavior. */
448 #ifndef _POSIX_1_SOURCE
449 /* # undef _POSIX_1_SOURCE */
450 #endif
451 /* Enable POSIX-compatible threading on Solaris. */
452 #ifndef _POSIX_PTHREAD_SEMANTICS
453 # define _POSIX_PTHREAD_SEMANTICS 1
454 #endif
455 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
456 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
457 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
458 #endif
459 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
460 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
461 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
462 #endif
463 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
464 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
465 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
466 #endif
467 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
468 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
469 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
470 #endif
471 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
472 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
473 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
474 #endif
475 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
476 #ifndef __STDC_WANT_LIB_EXT2__
477 # define __STDC_WANT_LIB_EXT2__ 1
478 #endif
479 /* Enable extensions specified by ISO/IEC 24747:2009. */
480 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
481 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
482 #endif
483 /* Enable extensions on HP NonStop. */
484 #ifndef _TANDEM_SOURCE
485 # define _TANDEM_SOURCE 1
486 #endif
487 /* Enable X/Open extensions. Define to 500 only if necessary
488  to make mbstate_t available. */
489 #ifndef _XOPEN_SOURCE
490 /* # undef _XOPEN_SOURCE */
491 #endif
492 
493 
494 /* Version number of package */
495 #define VERSION "2.4.6"
496 
497 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
498  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
499  #define below would cause a syntax error. */
500 /* #undef _UINT32_T */
501 
502 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
503  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
504  #define below would cause a syntax error. */
505 /* #undef _UINT64_T */
506 
507 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
508  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
509  #define below would cause a syntax error. */
510 /* #undef _UINT8_T */
511 
512 /* Define to empty if `const' does not conform to ANSI C. */
513 /* #undef const */
514 
515 /* Define to `int' if <sys/types.h> doesn't define. */
516 /* #undef gid_t */
517 
518 /* Define to `__inline__' or `__inline' if that's what the C compiler
519  calls it, or to nothing if 'inline' is not supported under any name. */
520 #ifndef __cplusplus
521 /* #undef inline */
522 #endif
523 
524 /* Define to the type of a signed integer type of width exactly 16 bits if
525  such a type exists and the standard includes do not define it. */
526 /* #undef int16_t */
527 
528 /* Define to the type of a signed integer type of width exactly 32 bits if
529  such a type exists and the standard includes do not define it. */
530 /* #undef int32_t */
531 
532 /* Define to the type of a signed integer type of width exactly 64 bits if
533  such a type exists and the standard includes do not define it. */
534 /* #undef int64_t */
535 
536 /* Define to the type of a signed integer type of width exactly 8 bits if such
537  a type exists and the standard includes do not define it. */
538 /* #undef int8_t */
539 
540 /* Define to rpl_malloc if the replacement function should be used. */
541 /* #undef malloc */
542 
543 /* Define as a signed integer type capable of holding a process identifier. */
544 /* #undef pid_t */
545 
546 /* Define to rpl_realloc if the replacement function should be used. */
547 /* #undef realloc */
548 
549 /* Define to `unsigned int' if <sys/types.h> does not define. */
550 /* #undef size_t */
551 
552 /* Define to `int' if <sys/types.h> does not define. */
553 /* #undef ssize_t */
554 
555 /* Define to `int' if <sys/types.h> doesn't define. */
556 /* #undef uid_t */
557 
558 /* Define to the type of an unsigned integer type of width exactly 16 bits if
559  such a type exists and the standard includes do not define it. */
560 /* #undef uint16_t */
561 
562 /* Define to the type of an unsigned integer type of width exactly 32 bits if
563  such a type exists and the standard includes do not define it. */
564 /* #undef uint32_t */
565 
566 /* Define to the type of an unsigned integer type of width exactly 64 bits if
567  such a type exists and the standard includes do not define it. */
568 /* #undef uint64_t */
569 
570 /* Define to the type of an unsigned integer type of width exactly 8 bits if
571  such a type exists and the standard includes do not define it. */
572 /* #undef uint8_t */
573 
574 /* Define as `fork' if `vfork' does not work. */
575 /* #undef vfork */
576 
577 /* Define to empty if the keyword `volatile' does not work. Warning: valid
578  code using `volatile' can become incorrect without. Disable with care. */
579 /* #undef volatile */