corosync  3.1.0
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 /* have knet access list */
123 #define HAVE_KNET_ACCESS_LIST 1
124 
125 /* have knet crypto reconfig support */
126 /* #undef HAVE_KNET_CRYPTO_RECONF */
127 
128 /* have knet onwire versioning */
129 /* #undef HAVE_KNET_ONWIRE_VER */
130 
131 /* Define to 1 if you have the `asan' library (-lasan). */
132 /* #undef HAVE_LIBASAN */
133 
134 /* have nozzle */
135 /* #undef HAVE_LIBNOZZLE */
136 
137 /* Define to 1 if you have the `nsl' library (-lnsl). */
138 /* #undef HAVE_LIBNSL */
139 
140 /* Define to 1 if you have the `pthread' library (-lpthread). */
141 #define HAVE_LIBPTHREAD 1
142 
143 /* Define to 1 if you have the `rt' library (-lrt). */
144 #define HAVE_LIBRT 1
145 
146 /* Define to 1 if you have the `socket' library (-lsocket). */
147 /* #undef HAVE_LIBSOCKET */
148 
149 /* have libstatgrab >= 0.90 */
150 #define HAVE_LIBSTATGRAB_GE_090 1
151 
152 /* have systemd interface library */
153 #define HAVE_LIBSYSTEMD 1
154 
155 /* Define to 1 if you have the `tsan' library (-ltsan). */
156 /* #undef HAVE_LIBTSAN */
157 
158 /* Define to 1 if you have the `ubsan' library (-lubsan). */
159 /* #undef HAVE_LIBUBSAN */
160 
161 /* Define to 1 if you have the <limits.h> header file. */
162 #define HAVE_LIMITS_H 1
163 
164 /* Define to 1 if you have the `localtime_r' function. */
165 #define HAVE_LOCALTIME_R 1
166 
167 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
168  to 0 otherwise. */
169 #define HAVE_MALLOC 1
170 
171 /* Define to 1 if you have the <malloc.h> header file. */
172 #define HAVE_MALLOC_H 1
173 
174 /* Define to 1 if you have the `memmove' function. */
175 #define HAVE_MEMMOVE 1
176 
177 /* Define to 1 if you have the <memory.h> header file. */
178 #define HAVE_MEMORY_H 1
179 
180 /* Define to 1 if you have the `memset' function. */
181 #define HAVE_MEMSET 1
182 
183 /* Define to 1 if you have the `mkdir' function. */
184 #define HAVE_MKDIR 1
185 
186 /* Define to 1 if you have a working `mmap' system call. */
187 #define HAVE_MMAP 1
188 
189 /* have resource monitoring */
190 #define HAVE_MONITORING 1
191 
192 /* msghdr has msg_accrights */
193 /* #undef HAVE_MSGHDR_ACCRIGHTS */
194 
195 /* msghdr has msg_accrightslen */
196 /* #undef HAVE_MSGHDR_ACCRIGHTSLEN */
197 
198 /* msghdr has msg_control */
199 #define HAVE_MSGHDR_CONTROL 1
200 
201 /* msghdr has msg_controllen */
202 #define HAVE_MSGHDR_CONTROLLEN 1
203 
204 /* msghdr has msg_flags */
205 #define HAVE_MSGHDR_FLAGS 1
206 
207 /* Define to 1 if you have the `munmap' function. */
208 #define HAVE_MUNMAP 1
209 
210 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
211 /* #undef HAVE_NDIR_H */
212 
213 /* Define to 1 if you have the <netdb.h> header file. */
214 #define HAVE_NETDB_H 1
215 
216 /* Define to 1 if you have the <netinet/in.h> header file. */
217 #define HAVE_NETINET_IN_H 1
218 
219 /* Define to 1 if you have the `netsnmp_tdomain_transport' function. */
220 /* #undef HAVE_NETSNMP_TDOMAIN_TRANSPORT */
221 
222 /* Define to 1 if you have the `netsnmp_transport_open_client' function. */
223 #define HAVE_NETSNMP_TRANSPORT_OPEN_CLIENT 1
224 
225 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
226 #define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
227 
228 /* Define to 1 if you have the `pthread_setschedparam' function. */
229 #define HAVE_PTHREAD_SETSCHEDPARAM 1
230 
231 /* have qb_log_file_reopen */
232 /* #undef HAVE_QB_LOG_FILE_REOPEN */
233 
234 /* have qb_log_thread_priority_set */
235 #define HAVE_QB_LOG_THREAD_PRIORITY_SET 1
236 
237 /* Define to 1 if you have the <readline/history.h> header file. */
238 /* #undef HAVE_READLINE_HISTORY_H */
239 
240 /* Define to 1 if you have the <readline/readline.h> header file. */
241 /* #undef HAVE_READLINE_READLINE_H */
242 
243 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
244  and to 0 otherwise. */
245 #define HAVE_REALLOC 1
246 
247 /* Define to 1 if you have the `scandir' function. */
248 #define HAVE_SCANDIR 1
249 
250 /* Define to 1 if you have the `sched_get_priority_max' function. */
251 #define HAVE_SCHED_GET_PRIORITY_MAX 1
252 
253 /* Define to 1 if you have the `sched_setscheduler' function. */
254 #define HAVE_SCHED_SETSCHEDULER 1
255 
256 /* Define to 1 if you have the `select' function. */
257 #define HAVE_SELECT 1
258 
259 /* have small_memory_footprint */
260 /* #undef HAVE_SMALL_MEMORY_FOOTPRINT */
261 
262 /* Define to 1 if you have the `socket' function. */
263 #define HAVE_SOCKET 1
264 
265 /* sockaddr_in6 needs sin6_len */
266 /* #undef HAVE_SOCK_SIN6_LEN */
267 
268 /* sockaddr_in needs sin_len */
269 /* #undef HAVE_SOCK_SIN_LEN */
270 
271 /* Define to 1 if you have the <stddef.h> header file. */
272 #define HAVE_STDDEF_H 1
273 
274 /* Define to 1 if you have the <stdint.h> header file. */
275 #define HAVE_STDINT_H 1
276 
277 /* Define to 1 if you have the <stdlib.h> header file. */
278 #define HAVE_STDLIB_H 1
279 
280 /* Define to 1 if you have the `strcasecmp' function. */
281 #define HAVE_STRCASECMP 1
282 
283 /* Define to 1 if you have the `strchr' function. */
284 #define HAVE_STRCHR 1
285 
286 /* Define to 1 if you have the `strdup' function. */
287 #define HAVE_STRDUP 1
288 
289 /* Define to 1 if you have the `strerror' function. */
290 #define HAVE_STRERROR 1
291 
292 /* Define to 1 if you have the <strings.h> header file. */
293 #define HAVE_STRINGS_H 1
294 
295 /* Define to 1 if you have the <string.h> header file. */
296 #define HAVE_STRING_H 1
297 
298 /* Define to 1 if you have the `strrchr' function. */
299 #define HAVE_STRRCHR 1
300 
301 /* Define to 1 if you have the `strspn' function. */
302 #define HAVE_STRSPN 1
303 
304 /* Define to 1 if you have the `strstr' function. */
305 #define HAVE_STRSTR 1
306 
307 /* Define to 1 if you have the `strtol' function. */
308 #define HAVE_STRTOL 1
309 
310 /* Define to 1 if you have the <syslog.h> header file. */
311 #define HAVE_SYSLOG_H 1
312 
313 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
314  */
315 /* #undef HAVE_SYS_DIR_H */
316 
317 /* Define to 1 if you have the <sys/file.h> header file. */
318 #define HAVE_SYS_FILE_H 1
319 
320 /* Define to 1 if you have the <sys/ioctl.h> header file. */
321 #define HAVE_SYS_IOCTL_H 1
322 
323 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
324  */
325 /* #undef HAVE_SYS_NDIR_H */
326 
327 /* Define to 1 if you have the <sys/param.h> header file. */
328 #define HAVE_SYS_PARAM_H 1
329 
330 /* Define to 1 if you have the <sys/select.h> header file. */
331 #define HAVE_SYS_SELECT_H 1
332 
333 /* Define to 1 if you have the <sys/socket.h> header file. */
334 #define HAVE_SYS_SOCKET_H 1
335 
336 /* Define to 1 if you have the <sys/stat.h> header file. */
337 #define HAVE_SYS_STAT_H 1
338 
339 /* Define to 1 if you have the <sys/time.h> header file. */
340 #define HAVE_SYS_TIME_H 1
341 
342 /* Define to 1 if you have the <sys/types.h> header file. */
343 #define HAVE_SYS_TYPES_H 1
344 
345 /* Define to 1 if you have the <sys/uio.h> header file. */
346 #define HAVE_SYS_UIO_H 1
347 
348 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
349 #define HAVE_SYS_WAIT_H 1
350 
351 /* Define to 1 if you have the <unistd.h> header file. */
352 #define HAVE_UNISTD_H 1
353 
354 /* Define to 1 if you have the <utmpx.h> header file. */
355 #define HAVE_UTMPX_H 1
356 
357 /* Define to 1 if you have the `vfork' function. */
358 #define HAVE_VFORK 1
359 
360 /* Define to 1 if you have the <vfork.h> header file. */
361 /* #undef HAVE_VFORK_H */
362 
363 /* Define to 1 if you have the `vprintf' function. */
364 #define HAVE_VPRINTF 1
365 
366 /* have watchdog */
367 #define HAVE_WATCHDOG 1
368 
369 /* Define to 1 if `fork' works. */
370 #define HAVE_WORKING_FORK 1
371 
372 /* Define to 1 if `vfork' works. */
373 #define HAVE_WORKING_VFORK 1
374 
375 /* localstate directory */
376 #define LOCALSTATEDIR "/var"
377 
378 /* Define to the sub-directory where libtool stores uninstalled libraries. */
379 #define LT_OBJDIR ".libs/"
380 
381 /* have net-snmp5.4 over */
382 #define NETSNMPV54
383 
384 /* Name of package */
385 #define PACKAGE "corosync"
386 
387 /* Define to the address where bug reports for this package should be sent. */
388 #define PACKAGE_BUGREPORT "users@clusterlabs.org"
389 
390 /* corosync built-in features */
391 #define PACKAGE_FEATURES " dbus monitoring watchdog systemd xmlconf snmp pie relro bindnow"
392 
393 /* Define to the full name of this package. */
394 #define PACKAGE_NAME "corosync"
395 
396 /* Define to the full name and version of this package. */
397 #define PACKAGE_STRING "corosync 3.1.0"
398 
399 /* Define to the one symbol short name of this package. */
400 #define PACKAGE_TARNAME "corosync"
401 
402 /* Define to the home page for this package. */
403 #define PACKAGE_URL ""
404 
405 /* Define to the version of this package. */
406 #define PACKAGE_VERSION "3.1.0"
407 
408 /* Define to the type of arg 1 for `select'. */
409 #define SELECT_TYPE_ARG1 int
410 
411 /* Define to the type of args 2, 3 and 4 for `select'. */
412 #define SELECT_TYPE_ARG234 (fd_set *)
413 
414 /* Define to the type of arg 5 for `select'. */
415 #define SELECT_TYPE_ARG5 (struct timeval *)
416 
417 /* If using the C implementation of alloca, define if you know the
418  direction of stack growth for your system; otherwise it will be
419  automatically deduced at runtime.
420  STACK_DIRECTION > 0 => grows toward higher addresses
421  STACK_DIRECTION < 0 => grows toward lower addresses
422  STACK_DIRECTION = 0 => direction of growth unknown */
423 /* #undef STACK_DIRECTION */
424 
425 /* Define to 1 if you have the ANSI C header files. */
426 #define STDC_HEADERS 1
427 
428 /* Enable extensions on AIX 3, Interix. */
429 #ifndef _ALL_SOURCE
430 # define _ALL_SOURCE 1
431 #endif
432 /* Enable GNU extensions on systems that have them. */
433 #ifndef _GNU_SOURCE
434 # define _GNU_SOURCE 1
435 #endif
436 /* Enable threading extensions on Solaris. */
437 #ifndef _POSIX_PTHREAD_SEMANTICS
438 # define _POSIX_PTHREAD_SEMANTICS 1
439 #endif
440 /* Enable extensions on HP NonStop. */
441 #ifndef _TANDEM_SOURCE
442 # define _TANDEM_SOURCE 1
443 #endif
444 /* Enable general extensions on Solaris. */
445 #ifndef __EXTENSIONS__
446 # define __EXTENSIONS__ 1
447 #endif
448 
449 
450 /* Version number of package */
451 #define VERSION "3.1.0"
452 
453 /* Define to 1 if on MINIX. */
454 /* #undef _MINIX */
455 
456 /* Define to 2 if the system does not provide POSIX.1 features except with
457  this defined. */
458 /* #undef _POSIX_1_SOURCE */
459 
460 /* Define to 1 if you need to in order for `stat' and other things to work. */
461 /* #undef _POSIX_SOURCE */
462 
463 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
464  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
465  #define below would cause a syntax error. */
466 /* #undef _UINT32_T */
467 
468 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
469  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
470  #define below would cause a syntax error. */
471 /* #undef _UINT64_T */
472 
473 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
474  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
475  #define below would cause a syntax error. */
476 /* #undef _UINT8_T */
477 
478 /* Define to empty if `const' does not conform to ANSI C. */
479 /* #undef const */
480 
481 /* Define to `int' if <sys/types.h> doesn't define. */
482 /* #undef gid_t */
483 
484 /* Define to `__inline__' or `__inline' if that's what the C compiler
485  calls it, or to nothing if 'inline' is not supported under any name. */
486 #ifndef __cplusplus
487 /* #undef inline */
488 #endif
489 
490 /* Define to the type of a signed integer type of width exactly 16 bits if
491  such a type exists and the standard includes do not define it. */
492 /* #undef int16_t */
493 
494 /* Define to the type of a signed integer type of width exactly 32 bits if
495  such a type exists and the standard includes do not define it. */
496 /* #undef int32_t */
497 
498 /* Define to the type of a signed integer type of width exactly 64 bits if
499  such a type exists and the standard includes do not define it. */
500 /* #undef int64_t */
501 
502 /* Define to the type of a signed integer type of width exactly 8 bits if such
503  a type exists and the standard includes do not define it. */
504 /* #undef int8_t */
505 
506 /* Define to rpl_malloc if the replacement function should be used. */
507 /* #undef malloc */
508 
509 /* Define to `int' if <sys/types.h> does not define. */
510 /* #undef pid_t */
511 
512 /* Define to rpl_realloc if the replacement function should be used. */
513 /* #undef realloc */
514 
515 /* Define to `unsigned int' if <sys/types.h> does not define. */
516 /* #undef size_t */
517 
518 /* Define to `int' if <sys/types.h> does not define. */
519 /* #undef ssize_t */
520 
521 /* Define to `int' if <sys/types.h> doesn't define. */
522 /* #undef uid_t */
523 
524 /* Define to the type of an unsigned integer type of width exactly 16 bits if
525  such a type exists and the standard includes do not define it. */
526 /* #undef uint16_t */
527 
528 /* Define to the type of an unsigned integer type of width exactly 32 bits if
529  such a type exists and the standard includes do not define it. */
530 /* #undef uint32_t */
531 
532 /* Define to the type of an unsigned integer type of width exactly 64 bits if
533  such a type exists and the standard includes do not define it. */
534 /* #undef uint64_t */
535 
536 /* Define to the type of an unsigned integer type of width exactly 8 bits if
537  such a type exists and the standard includes do not define it. */
538 /* #undef uint8_t */
539 
540 /* Define as `fork' if `vfork' does not work. */
541 /* #undef vfork */
542 
543 /* Define to empty if the keyword `volatile' does not work. Warning: valid
544  code using `volatile' can become incorrect without. Disable with care. */
545 /* #undef volatile */