corosync  2.3.4
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 `fork' function. */
81 #define HAVE_FORK 1
82 
83 /* Define to 1 if you have the `ftruncate' function. */
84 #define HAVE_FTRUNCATE 1
85 
86 /* Define to 1 if you have the `getcwd' function. */
87 #define HAVE_GETCWD 1
88 
89 /* Define to 1 if you have the `gethostname' function. */
90 #define HAVE_GETHOSTNAME 1
91 
92 /* Define to 1 if you have the `getifaddrs' function. */
93 #define HAVE_GETIFADDRS 1
94 
95 /* Define to 1 if you have the <getopt.h> header file. */
96 #define HAVE_GETOPT_H 1
97 
98 /* Define to 1 if you have the `getpagesize' function. */
99 #define HAVE_GETPAGESIZE 1
100 
101 /* Define to 1 if you have the `getpeereid' function. */
102 /* #undef HAVE_GETPEEREID */
103 
104 /* Define to 1 if you have the `getpeerucred' function. */
105 /* #undef HAVE_GETPEERUCRED */
106 
107 /* Define to 1 if you have the `gettimeofday' function. */
108 #define HAVE_GETTIMEOFDAY 1
109 
110 /* Define to 1 if you have the <ifaddrs.h> header file. */
111 #define HAVE_IFADDRS_H 1
112 
113 /* Define to 1 if you have the `inet_ntoa' function. */
114 #define HAVE_INET_NTOA 1
115 
116 /* Define to 1 if you have the <inttypes.h> header file. */
117 #define HAVE_INTTYPES_H 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 /* #undef HAVE_LIBSTATGRAB_GE_090 */
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 <memory.h> header file. */
151 #define HAVE_MEMORY_H 1
152 
153 /* Define to 1 if you have the `memset' function. */
154 #define HAVE_MEMSET 1
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 <stdlib.h> header file. */
245 #define HAVE_STDLIB_H 1
246 
247 /* Define to 1 if you have the `strcasecmp' function. */
248 #define HAVE_STRCASECMP 1
249 
250 /* Define to 1 if you have the `strchr' function. */
251 #define HAVE_STRCHR 1
252 
253 /* Define to 1 if you have the `strdup' function. */
254 #define HAVE_STRDUP 1
255 
256 /* Define to 1 if you have the `strerror' function. */
257 #define HAVE_STRERROR 1
258 
259 /* Define to 1 if you have the <strings.h> header file. */
260 #define HAVE_STRINGS_H 1
261 
262 /* Define to 1 if you have the <string.h> header file. */
263 #define HAVE_STRING_H 1
264 
265 /* Define to 1 if you have the `strrchr' function. */
266 #define HAVE_STRRCHR 1
267 
268 /* Define to 1 if you have the `strspn' function. */
269 #define HAVE_STRSPN 1
270 
271 /* Define to 1 if you have the `strstr' function. */
272 #define HAVE_STRSTR 1
273 
274 /* Define to 1 if you have the `strtol' function. */
275 #define HAVE_STRTOL 1
276 
277 /* Define to 1 if you have the <syslog.h> header file. */
278 #define HAVE_SYSLOG_H 1
279 
280 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
281  */
282 /* #undef HAVE_SYS_DIR_H */
283 
284 /* Define to 1 if you have the <sys/file.h> header file. */
285 #define HAVE_SYS_FILE_H 1
286 
287 /* Define to 1 if you have the <sys/ioctl.h> header file. */
288 #define HAVE_SYS_IOCTL_H 1
289 
290 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
291  */
292 /* #undef HAVE_SYS_NDIR_H */
293 
294 /* Define to 1 if you have the <sys/param.h> header file. */
295 #define HAVE_SYS_PARAM_H 1
296 
297 /* Define to 1 if you have the <sys/select.h> header file. */
298 #define HAVE_SYS_SELECT_H 1
299 
300 /* Define to 1 if you have the <sys/socket.h> header file. */
301 #define HAVE_SYS_SOCKET_H 1
302 
303 /* Define to 1 if you have the <sys/stat.h> header file. */
304 #define HAVE_SYS_STAT_H 1
305 
306 /* Define to 1 if you have the <sys/time.h> header file. */
307 #define HAVE_SYS_TIME_H 1
308 
309 /* Define to 1 if you have the <sys/types.h> header file. */
310 #define HAVE_SYS_TYPES_H 1
311 
312 /* Define to 1 if you have the <sys/uio.h> header file. */
313 #define HAVE_SYS_UIO_H 1
314 
315 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
316 #define HAVE_SYS_WAIT_H 1
317 
318 /* have testagents */
319 #define HAVE_TESTAGENTS 1
320 
321 /* Define to 1 if you have the <unistd.h> header file. */
322 #define HAVE_UNISTD_H 1
323 
324 /* Define to 1 if you have the <utmpx.h> header file. */
325 #define HAVE_UTMPX_H 1
326 
327 /* Define to 1 if you have the `vfork' function. */
328 #define HAVE_VFORK 1
329 
330 /* Define to 1 if you have the <vfork.h> header file. */
331 /* #undef HAVE_VFORK_H */
332 
333 /* Define to 1 if you have the `vprintf' function. */
334 #define HAVE_VPRINTF 1
335 
336 /* have watchdog */
337 #define HAVE_WATCHDOG 1
338 
339 /* Define to 1 if `fork' works. */
340 #define HAVE_WORKING_FORK 1
341 
342 /* Define to 1 if `vfork' works. */
343 #define HAVE_WORKING_VFORK 1
344 
345 /* localstate directory */
346 #define LOCALSTATEDIR "/var"
347 
348 /* Define to the sub-directory in which libtool stores uninstalled libraries.
349  */
350 #define LT_OBJDIR ".libs/"
351 
352 /* have net-snmp5.4 over */
353 #define NETSNMPV54
354 
355 /* Name of package */
356 #define PACKAGE "corosync"
357 
358 /* Define to the address where bug reports for this package should be sent. */
359 #define PACKAGE_BUGREPORT "discuss@lists.corosync.org"
360 
361 /* corosync built-in features */
362 #define PACKAGE_FEATURES " dbus testagents rdma monitoring watchdog augeas systemd xmlconf snmp pie relro bindnow"
363 
364 /* Define to the full name of this package. */
365 #define PACKAGE_NAME "corosync"
366 
367 /* Define to the full name and version of this package. */
368 #define PACKAGE_STRING "corosync 2.3.4"
369 
370 /* Define to the one symbol short name of this package. */
371 #define PACKAGE_TARNAME "corosync"
372 
373 /* Define to the home page for this package. */
374 #define PACKAGE_URL ""
375 
376 /* Define to the version of this package. */
377 #define PACKAGE_VERSION "2.3.4"
378 
379 /* Define as the return type of signal handlers (`int' or `void'). */
380 #define RETSIGTYPE void
381 
382 /* Define to the type of arg 1 for `select'. */
383 #define SELECT_TYPE_ARG1 int
384 
385 /* Define to the type of args 2, 3 and 4 for `select'. */
386 #define SELECT_TYPE_ARG234 (fd_set *)
387 
388 /* Define to the type of arg 5 for `select'. */
389 #define SELECT_TYPE_ARG5 (struct timeval *)
390 
391 /* If using the C implementation of alloca, define if you know the
392  direction of stack growth for your system; otherwise it will be
393  automatically deduced at runtime.
394  STACK_DIRECTION > 0 => grows toward higher addresses
395  STACK_DIRECTION < 0 => grows toward lower addresses
396  STACK_DIRECTION = 0 => direction of growth unknown */
397 /* #undef STACK_DIRECTION */
398 
399 /* Define to 1 if you have the ANSI C header files. */
400 #define STDC_HEADERS 1
401 
402 /* Enable extensions on AIX 3, Interix. */
403 #ifndef _ALL_SOURCE
404 # define _ALL_SOURCE 1
405 #endif
406 /* Enable GNU extensions on systems that have them. */
407 #ifndef _GNU_SOURCE
408 # define _GNU_SOURCE 1
409 #endif
410 /* Enable threading extensions on Solaris. */
411 #ifndef _POSIX_PTHREAD_SEMANTICS
412 # define _POSIX_PTHREAD_SEMANTICS 1
413 #endif
414 /* Enable extensions on HP NonStop. */
415 #ifndef _TANDEM_SOURCE
416 # define _TANDEM_SOURCE 1
417 #endif
418 /* Enable general extensions on Solaris. */
419 #ifndef __EXTENSIONS__
420 # define __EXTENSIONS__ 1
421 #endif
422 
423 
424 /* Version number of package */
425 #define VERSION "2.3.4"
426 
427 /* Define to 1 if on MINIX. */
428 /* #undef _MINIX */
429 
430 /* Define to 2 if the system does not provide POSIX.1 features except with
431  this defined. */
432 /* #undef _POSIX_1_SOURCE */
433 
434 /* Define to 1 if you need to in order for `stat' and other things to work. */
435 /* #undef _POSIX_SOURCE */
436 
437 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
438  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
439  #define below would cause a syntax error. */
440 /* #undef _UINT32_T */
441 
442 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
443  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
444  #define below would cause a syntax error. */
445 /* #undef _UINT64_T */
446 
447 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
448  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
449  #define below would cause a syntax error. */
450 /* #undef _UINT8_T */
451 
452 /* Define to empty if `const' does not conform to ANSI C. */
453 /* #undef const */
454 
455 /* Define to `int' if <sys/types.h> doesn't define. */
456 /* #undef gid_t */
457 
458 /* Define to `__inline__' or `__inline' if that's what the C compiler
459  calls it, or to nothing if 'inline' is not supported under any name. */
460 #ifndef __cplusplus
461 /* #undef inline */
462 #endif
463 
464 /* Define to the type of a signed integer type of width exactly 16 bits if
465  such a type exists and the standard includes do not define it. */
466 /* #undef int16_t */
467 
468 /* Define to the type of a signed integer type of width exactly 32 bits if
469  such a type exists and the standard includes do not define it. */
470 /* #undef int32_t */
471 
472 /* Define to the type of a signed integer type of width exactly 64 bits if
473  such a type exists and the standard includes do not define it. */
474 /* #undef int64_t */
475 
476 /* Define to the type of a signed integer type of width exactly 8 bits if such
477  a type exists and the standard includes do not define it. */
478 /* #undef int8_t */
479 
480 /* Define to rpl_malloc if the replacement function should be used. */
481 /* #undef malloc */
482 
483 /* Define to `int' if <sys/types.h> does not define. */
484 /* #undef pid_t */
485 
486 /* Define to rpl_realloc if the replacement function should be used. */
487 /* #undef realloc */
488 
489 /* Define to `unsigned int' if <sys/types.h> does not define. */
490 /* #undef size_t */
491 
492 /* Define to `int' if <sys/types.h> does not define. */
493 /* #undef ssize_t */
494 
495 /* Define to `int' if <sys/types.h> doesn't define. */
496 /* #undef uid_t */
497 
498 /* Define to the type of an unsigned integer type of width exactly 16 bits if
499  such a type exists and the standard includes do not define it. */
500 /* #undef uint16_t */
501 
502 /* Define to the type of an unsigned integer type of width exactly 32 bits if
503  such a type exists and the standard includes do not define it. */
504 /* #undef uint32_t */
505 
506 /* Define to the type of an unsigned integer type of width exactly 64 bits if
507  such a type exists and the standard includes do not define it. */
508 /* #undef uint64_t */
509 
510 /* Define to the type of an unsigned integer type of width exactly 8 bits if
511  such a type exists and the standard includes do not define it. */
512 /* #undef uint8_t */
513 
514 /* Define as `fork' if `vfork' does not work. */
515 /* #undef vfork */
516 
517 /* Define to empty if the keyword `volatile' does not work. Warning: valid
518  code using `volatile' can become incorrect without. Disable with care. */
519 /* #undef volatile */