summaryrefslogtreecommitdiffstats
path: root/packaging/cmake/config.cmake.h.in
blob: 57d032693b834c3a52d19f7581d85d30ca0f9765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/* 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 OS_FREEBSD
#cmakedefine OS_LINUX
#cmakedefine OS_MACOS
#cmakedefine OS_WINDOWS

// 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_ARPA_INET_H
#cmakedefine HAVE_NETINET_TCP_H
#cmakedefine HAVE_SYS_IOCTL_H
#cmakedefine HAVE_GRP_H
#cmakedefine HAVE_PWD_H
#cmakedefine HAVE_NET_IF_H
#cmakedefine HAVE_POLL_H
#cmakedefine HAVE_SYSLOG_H
#cmakedefine HAVE_SYS_MMAN_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_WAIT_H
#cmakedefine HAVE_SYS_UN_H
#cmakedefine HAVE_SPAWN_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_PTHREAD_GETTHREADID_NP
#cmakedefine HAVE_PTHREAD_THREADID_NP
#cmakedefine HAVE_GETTID
#cmakedefine HAVE_WAITID
#cmakedefine HAVE_NICE
#cmakedefine HAVE_GETPRIORITY
#cmakedefine HAVE_SETENV
#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_STRNDUP
#cmakedefine SSL_HAS_PENDING

#cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_GNU_PRINTF
#cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_PRINTF
#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_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@"

#define NETDATA_VERSION_MAJOR "@NETDATA_VERSION_MAJOR@"
#define NETDATA_VERSION_MINOR "@NETDATA_VERSION_MINOR@"
#define NETDATA_VERSION_PATCH "@NETDATA_VERSION_PATCH@"
#define NETDATA_VERSION_TWEAK "@NETDATA_VERSION_TWEAK@"
#define NETDATA_VERSION_DESCR "@NETDATA_VERSION_DESCR@"

#define NETDATA_VERSION "@NETDATA_VERSION_STRING@"

#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