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