mirror of
https://github.com/netdata/netdata.git
synced 2025-04-04 05:25:31 +00:00
166 lines
4.3 KiB
C
166 lines
4.3 KiB
C
/* This file was generated by CMAKE from config.cmake.h.in */
|
|
|
|
#define likely(x) __builtin_expect(!!(x), 1)
|
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
|
|
#define __always_unused __attribute__((unused))
|
|
#define __maybe_unused __attribute__((unused))
|
|
|
|
#cmakedefine SIZEOF_VOID_P ${SIZEOF_VOID_P}
|
|
|
|
// platform
|
|
#cmakedefine COMPILED_FOR_FREEBSD
|
|
#cmakedefine COMPILED_FOR_LINUX
|
|
#cmakedefine COMPILED_FOR_MACOS
|
|
|
|
// checked headers
|
|
|
|
#cmakedefine HAVE_NETINET_IN_H
|
|
#cmakedefine HAVE_RESOLV_H
|
|
#cmakedefine HAVE_NETDB_H
|
|
#cmakedefine HAVE_SYS_PRCTL_H
|
|
#cmakedefine HAVE_SYS_STAT_H
|
|
#cmakedefine HAVE_SYS_VFS_H
|
|
#cmakedefine HAVE_SYS_STATFS_H
|
|
#cmakedefine HAVE_LINUX_MAGIC_H
|
|
#cmakedefine HAVE_SYS_MOUNT_H
|
|
#cmakedefine HAVE_SYS_STATVFS_H
|
|
#cmakedefine HAVE_INTTYPES_H
|
|
#cmakedefine HAVE_STDINT_H
|
|
#cmakedefine HAVE_SYS_CAPABILITY_H
|
|
|
|
#cmakedefine HAVE_CAPABILITY
|
|
#cmakedefine HAVE_PROTOBUF
|
|
#cmakedefine BUNDLED_PROTOBUF
|
|
#cmakedefine HAVE_MONGOC
|
|
#cmakedefine HAVE_LIBDATACHANNEL
|
|
|
|
// checked symbols
|
|
|
|
#cmakedefine MAJOR_IN_SYSMACROS
|
|
#cmakedefine MAJOR_IN_MKDEV
|
|
#cmakedefine HAVE_CLOCK_GETTIME
|
|
#cmakedefine HAVE_STRERROR_R
|
|
#cmakedefine HAVE_FINITE
|
|
#cmakedefine HAVE_ISFINITE
|
|
#cmakedefine HAVE_RECVMMSG
|
|
#cmakedefine HAVE_NICE
|
|
#cmakedefine HAVE_GETPRIORITY
|
|
#cmakedefine HAVE_DLSYM
|
|
|
|
#cmakedefine HAVE_BACKTRACE
|
|
#cmakedefine HAVE_CLOSE_RANGE
|
|
#cmakedefine HAVE_SCHED_GETSCHEDULER
|
|
#cmakedefine HAVE_SCHED_SETSCHEDULER
|
|
#cmakedefine HAVE_SCHED_GET_PRIORITY_MIN
|
|
#cmakedefine HAVE_SCHED_GET_PRIORITY_MAX
|
|
|
|
#cmakedefine HAVE_SYSTEMD
|
|
#cmakedefine HAVE_SD_JOURNAL_OS_ROOT
|
|
#cmakedefine HAVE_SD_JOURNAL_OPEN_FILES_FD
|
|
#cmakedefine HAVE_SD_JOURNAL_RESTART_FIELDS
|
|
#cmakedefine HAVE_SD_JOURNAL_GET_SEQNUM
|
|
#cmakedefine ENABLE_SYSTEMD_DBUS
|
|
|
|
// checked source compilation
|
|
|
|
#cmakedefine HAVE_PTHREAD_GETNAME_NP
|
|
#cmakedefine HAVE_ACCEPT4
|
|
#cmakedefine STRERROR_R_CHAR_P
|
|
#cmakedefine HAVE_C__GENERIC
|
|
#cmakedefine HAVE_C_MALLOPT
|
|
#cmakedefine HAVE_SETNS
|
|
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_MALLOC
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_NOINLINE
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_NORETURN
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
|
|
#cmakedefine HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
|
|
|
|
// enabled features
|
|
|
|
#cmakedefine ENABLE_OPENSSL
|
|
#cmakedefine ENABLE_CLOUD
|
|
#cmakedefine ENABLE_ACLK
|
|
#cmakedefine ENABLE_ML
|
|
#cmakedefine ENABLE_EXPORTING_MONGODB
|
|
#cmakedefine ENABLE_H2O
|
|
#cmakedefine ENABLE_DBENGINE
|
|
#cmakedefine ENABLE_HTTPS
|
|
#cmakedefine ENABLE_LZ4
|
|
#cmakedefine ENABLE_ZSTD
|
|
#cmakedefine ENABLE_BROTLI
|
|
|
|
#cmakedefine ENABLE_LOGSMANAGEMENT
|
|
#cmakedefine ENABLE_LOGSMANAGEMENT_TESTS
|
|
#cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
|
|
|
|
// enabled plugins
|
|
|
|
#cmakedefine ENABLE_PLUGIN_DEBUGFS
|
|
#cmakedefine ENABLE_PLUGIN_APPS
|
|
#cmakedefine ENABLE_PLUGIN_FREEIPMI
|
|
#cmakedefine ENABLE_PLUGIN_NFACCT
|
|
#cmakedefine ENABLE_PLUGIN_XENSTAT
|
|
#cmakedefine ENABLE_PLUGIN_PERF
|
|
#cmakedefine ENABLE_PLUGIN_SLABINFO
|
|
#cmakedefine ENABLE_PLUGIN_CUPS
|
|
#cmakedefine ENABLE_PLUGIN_CGROUP_NETWORK
|
|
#cmakedefine ENABLE_PLUGIN_EBPF
|
|
|
|
// enabled sentry
|
|
|
|
#cmakedefine ENABLE_SENTRY
|
|
#cmakedefine NETDATA_SENTRY_ENVIRONMENT "@NETDATA_SENTRY_ENVIRONMENT@"
|
|
#cmakedefine NETDATA_SENTRY_RELEASE "@NETDATA_SENTRY_RELEASE@"
|
|
#cmakedefine NETDATA_SENTRY_DIST "@NETDATA_SENTRY_DIST@"
|
|
#cmakedefine NETDATA_SENTRY_DSN "@NETDATA_SENTRY_DSN@"
|
|
// enabled bundling
|
|
|
|
#cmakedefine ENABLE_BUNDLED_JSONC
|
|
#cmakedefine ENABLE_BUNDLED_YAML
|
|
#cmakedefine ENABLE_BUNDLED_PROTOBUF
|
|
|
|
// directory paths
|
|
|
|
#cmakedefine CACHE_DIR "@CACHE_DIR@"
|
|
#cmakedefine CONFIG_DIR "@CONFIG_DIR@"
|
|
#cmakedefine LIBCONFIG_DIR "@LIBCONFIG_DIR@"
|
|
#cmakedefine LOG_DIR "@LOG_DIR@"
|
|
#cmakedefine PLUGINS_DIR "@PLUGINS_DIR@"
|
|
#cmakedefine WEB_DIR "@WEB_DIR@"
|
|
#cmakedefine VARLIB_DIR "@VARLIB_DIR@"
|
|
|
|
// config command, user and version
|
|
|
|
#cmakedefine CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
|
|
#cmakedefine NETDATA_USER "@NETDATA_USER@"
|
|
|
|
#cmakedefine VERSION "@GIT_DESCRIBE_OUTPUT@"
|
|
|
|
#define ENABLE_JSONC 1
|
|
|
|
#cmakedefine HAVE_LIBYAML
|
|
#cmakedefine HAVE_LIBMNL
|
|
|
|
// /* Enable GNU extensions on systems that have them. */
|
|
// #ifndef _GNU_SOURCE
|
|
// # define _GNU_SOURCE 1
|
|
// #endif
|
|
|
|
// #cmakedefine HAVE_CRYPTO
|
|
|
|
// #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
|
|
|
|
// /* NSA spy stuff */
|
|
// #define ENABLE_HTTPS 1
|
|
// #cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
|
|
|
|
#define HAVE_CRYPTO
|
|
#define HAVE_X509_VERIFY_PARAM_set1_host 1
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
#define _GNU_SOURCE 1
|
|
#endif
|