config.h
Go to the documentation of this file.
/* include/corosync/config.h. Generated from config.h.in by configure. */
/* include/corosync/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the 'closedir' function returns void instead of int. */
/* #undef CLOSEDIR_VOID */
/* corosync config directory */
#define COROSYSCONFDIR "/etc/corosync"
/* Define to 1 if using 'alloca.c'. */
/* #undef C_ALLOCA */
/* Compiling Debugging code */
/* #undef DEBUG */
/* Build in support for sending SNMP traps */
#define ENABLE_SNMP 1
/* Define to 1 if you have the 'alarm' function. */
#define HAVE_ALARM 1
/* Define to 1 if you have 'alloca', as a function or macro. */
#define HAVE_ALLOCA 1
/* Define to 1 if <alloca.h> works. */
#define HAVE_ALLOCA_H 1
/* Define to 1 if you have the 'alphasort' function. */
#define HAVE_ALPHASORT 1
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the 'atexit' function. */
#define HAVE_ATEXIT 1
/* Define to 1 if you have the 'bzero' function. */
#define HAVE_BZERO 1
/* Define to 1 if you have the 'clock_gettime' function. */
#define HAVE_CLOCK_GETTIME 1
/* have dbus */
#define HAVE_DBUS 1
/* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you don't have 'vprintf' but do have '_doprnt.' */
/* #undef HAVE_DOPRNT */
/* Define to 1 if you have the 'dup2' function. */
#define HAVE_DUP2 1
/* Define to 1 if you have the 'endgrent' function. */
#define HAVE_ENDGRENT 1
/* Define to 1 if you have the 'endpwent' function. */
#define HAVE_ENDPWENT 1
/* Define to 1 if you have the 'fcntl' function. */
#define HAVE_FCNTL 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the 'fdatasync' function. */
#define HAVE_FDATASYNC 1
/* Define to 1 if you have the 'fork' function. */
#define HAVE_FORK 1
/* Define to 1 if you have the 'ftruncate' function. */
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the 'getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the 'gethostname' function. */
#define HAVE_GETHOSTNAME 1
/* Define to 1 if you have the 'getifaddrs' function. */
#define HAVE_GETIFADDRS 1
/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1
/* Define to 1 if you have the 'getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the 'getpeereid' function. */
/* #undef HAVE_GETPEEREID */
/* Define to 1 if you have the 'getpeerucred' function. */
/* #undef HAVE_GETPEERUCRED */
/* Define to 1 if you have the 'gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <ifaddrs.h> header file. */
#define HAVE_IFADDRS_H 1
/* Define to 1 if you have the 'inet_ntoa' function. */
#define HAVE_INET_NTOA 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* have knet access list */
#define HAVE_KNET_ACCESS_LIST 1
/* have knet crypto reconfig support */
#define HAVE_KNET_CRYPTO_RECONF 1
/* have knet onwire versioning */
/* #undef HAVE_KNET_ONWIRE_VER */
/* Define to 1 if you have the 'asan' library (-lasan). */
/* #undef HAVE_LIBASAN */
/* have nozzle */
#define HAVE_LIBNOZZLE 1
/* Define to 1 if you have the 'nsl' library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define to 1 if you have the 'pthread' library (-lpthread). */
#define HAVE_LIBPTHREAD 1
/* Define to 1 if you have the 'rt' library (-lrt). */
#define HAVE_LIBRT 1
/* Define to 1 if you have the 'socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* have libstatgrab >= 0.90 */
#define HAVE_LIBSTATGRAB_GE_090 1
/* have systemd interface library */
#define HAVE_LIBSYSTEMD 1
/* Define to 1 if you have the 'tsan' library (-ltsan). */
/* #undef HAVE_LIBTSAN */
/* Define to 1 if you have the 'ubsan' library (-lubsan). */
/* #undef HAVE_LIBUBSAN */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the 'localtime_r' function. */
#define HAVE_LOCALTIME_R 1
/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the 'memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the 'memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <minix/config.h> header file. */
/* #undef HAVE_MINIX_CONFIG_H */
/* Define to 1 if you have the 'mkdir' function. */
#define HAVE_MKDIR 1
/* Define to 1 if you have a working 'mmap' system call. */
#define HAVE_MMAP 1
/* have resource monitoring */
#define HAVE_MONITORING 1
/* msghdr has msg_accrights */
/* #undef HAVE_MSGHDR_ACCRIGHTS */
/* msghdr has msg_accrightslen */
/* #undef HAVE_MSGHDR_ACCRIGHTSLEN */
/* msghdr has msg_control */
#define HAVE_MSGHDR_CONTROL 1
/* msghdr has msg_controllen */
#define HAVE_MSGHDR_CONTROLLEN 1
/* msghdr has msg_flags */
#define HAVE_MSGHDR_FLAGS 1
/* Define to 1 if you have the 'munmap' function. */
#define HAVE_MUNMAP 1
/* Define to 1 if you have the <ndir.h> header file, and it defines 'DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the 'netsnmp_tdomain_transport' function. */
/* #undef HAVE_NETSNMP_TDOMAIN_TRANSPORT */
/* Define to 1 if you have the 'netsnmp_transport_open_client' function. */
#define HAVE_NETSNMP_TRANSPORT_OPEN_CLIENT 1
/* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
#define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
/* Define to 1 if you have the 'pthread_setschedparam' function. */
#define HAVE_PTHREAD_SETSCHEDPARAM 1
/* have qb_log_file_reopen */
#define HAVE_QB_LOG_FILE_REOPEN 1
/* have qb_log_thread_priority_set */
#define HAVE_QB_LOG_THREAD_PRIORITY_SET 1
/* Define to 1 if you have the <readline/history.h> header file. */
#define HAVE_READLINE_HISTORY_H 1
/* Define to 1 if you have the <readline/readline.h> header file. */
#define HAVE_READLINE_READLINE_H 1
/* Define to 1 if your system has a GNU libc compatible 'realloc' function,
and to 0 otherwise. */
#define HAVE_REALLOC 1
/* Define to 1 if you have the 'scandir' function. */
#define HAVE_SCANDIR 1
/* Define to 1 if you have the 'sched_get_priority_max' function. */
#define HAVE_SCHED_GET_PRIORITY_MAX 1
/* Define to 1 if you have the 'sched_setscheduler' function. */
#define HAVE_SCHED_SETSCHEDULER 1
/* Define to 1 if you have the 'select' function. */
#define HAVE_SELECT 1
/* have small_memory_footprint */
/* #undef HAVE_SMALL_MEMORY_FOOTPRINT */
/* Define to 1 if you have the 'socket' function. */
#define HAVE_SOCKET 1
/* sockaddr_in6 needs sin6_len */
/* #undef HAVE_SOCK_SIN6_LEN */
/* sockaddr_in needs sin_len */
/* #undef HAVE_SOCK_SIN_LEN */
/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the 'strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the 'strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the 'strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the 'strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the 'strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the 'strspn' function. */
#define HAVE_STRSPN 1
/* Define to 1 if you have the 'strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the 'strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the <syslog.h> header file. */
#define HAVE_SYSLOG_H 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines 'DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/uio.h> header file. */
#define HAVE_SYS_UIO_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <utmpx.h> header file. */
#define HAVE_UTMPX_H 1
/* Define to 1 if you have the 'vfork' function. */
#define HAVE_VFORK 1
/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */
/* Define to 1 if you have the 'vprintf' function. */
#define HAVE_VPRINTF 1
/* have watchdog */
#define HAVE_WATCHDOG 1
/* Define to 1 if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
/* Define to 1 if 'fork' works. */
#define HAVE_WORKING_FORK 1
/* Define to 1 if 'vfork' works. */
#define HAVE_WORKING_VFORK 1
/* localstate directory */
#define LOCALSTATEDIR "/var"
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* have net-snmp5.4 over */
#define NETSNMPV54
/* Name of package */
#define PACKAGE "corosync"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "users@clusterlabs.org"
/* corosync built-in features */
#define PACKAGE_FEATURES " dbus monitoring watchdog augeas systemd xmlconf vqsim nozzle snmp pie relro bindnow"
/* Define to the full name of this package. */
#define PACKAGE_NAME "corosync"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "corosync 3.1.9"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "corosync"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "3.1.9"
/* Define to the type of arg 1 for 'select'. */
#define SELECT_TYPE_ARG1 int
/* Define to the type of args 2, 3 and 4 for 'select'. */
#define SELECT_TYPE_ARG234 (fd_set *)
/* Define to the type of arg 5 for 'select'. */
#define SELECT_TYPE_ARG5 (struct timeval *)
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */
/* Define to 1 if all of the C89 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Enable extensions on AIX, Interix, z/OS. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable general extensions on macOS. */
#ifndef _DARWIN_C_SOURCE
# define _DARWIN_C_SOURCE 1
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable X/Open compliant socket functions that do not require linking
with -lxnet on HP-UX 11.11. */
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
# define _HPUX_ALT_XOPEN_SOCKET_API 1
#endif
/* Identify the host operating system as Minix.
This macro does not affect the system headers' behavior.
A future release of Autoconf may stop defining this macro. */
#ifndef _MINIX
/* # undef _MINIX */
#endif
/* Enable general extensions on NetBSD.
Enable NetBSD compatibility extensions on Minix. */
#ifndef _NETBSD_SOURCE
# define _NETBSD_SOURCE 1
#endif
/* Enable OpenBSD compatibility extensions on NetBSD.
Oddly enough, this does nothing on OpenBSD. */
#ifndef _OPENBSD_SOURCE
# define _OPENBSD_SOURCE 1
#endif
/* Define to 1 if needed for POSIX-compatible behavior. */
#ifndef _POSIX_SOURCE
/* # undef _POSIX_SOURCE */
#endif
/* Define to 2 if needed for POSIX-compatible behavior. */
#ifndef _POSIX_1_SOURCE
/* # undef _POSIX_1_SOURCE */
#endif
/* Enable POSIX-compatible threading on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#endif
/* Enable extensions specified by C23 Annex F. */
#ifndef __STDC_WANT_IEC_60559_EXT__
# define __STDC_WANT_IEC_60559_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#endif
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
#ifndef __STDC_WANT_LIB_EXT2__
# define __STDC_WANT_LIB_EXT2__ 1
#endif
/* Enable extensions specified by ISO/IEC 24747:2009. */
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable X/Open extensions. Define to 500 only if necessary
to make mbstate_t available. */
#ifndef _XOPEN_SOURCE
/* # undef _XOPEN_SOURCE */
#endif
/* Version number of package */
#define VERSION "3.1.9"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to empty if 'const' does not conform to ANSI C. */
/* #undef const */
/* Define as 'int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
/* Define to '__inline__' or '__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to the type of a signed integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef int16_t */
/* Define to the type of a signed integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef int32_t */
/* Define to the type of a signed integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef int64_t */
/* Define to the type of a signed integer type of width exactly 8 bits if such
a type exists and the standard includes do not define it. */
/* #undef int8_t */
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define as a signed integer type capable of holding a process identifier. */
/* #undef pid_t */
/* Define to rpl_realloc if the replacement function should be used. */
/* #undef realloc */
/* Define as 'unsigned int' if <stddef.h> doesn't define. */
/* #undef size_t */
/* Define as 'int' if <sys/types.h> doesn't define. */
/* #undef ssize_t */
/* Define as 'int' if <sys/types.h> doesn't define. */
/* #undef uid_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */
/* Define as 'fork' if 'vfork' does not work. */
/* #undef vfork */
/* Define to empty if the keyword 'volatile' does not work. Warning: valid
code using 'volatile' can become incorrect without. Disable with care. */
/* #undef volatile */