config.cmake.h.in 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. /* This file was generated by CMAKE from config.cmake.h.in */
  2. #define likely(x) __builtin_expect(!!(x), 1)
  3. #define unlikely(x) __builtin_expect(!!(x), 0)
  4. #define __always_unused __attribute__((unused))
  5. #define __maybe_unused __attribute__((unused))
  6. #cmakedefine SIZEOF_VOID_P ${SIZEOF_VOID_P}
  7. // platform
  8. #cmakedefine OS_FREEBSD
  9. #cmakedefine OS_LINUX
  10. #cmakedefine OS_MACOS
  11. #cmakedefine OS_WINDOWS
  12. // checked headers
  13. #cmakedefine HAVE_NETINET_IN_H
  14. #cmakedefine HAVE_RESOLV_H
  15. #cmakedefine HAVE_NETDB_H
  16. #cmakedefine HAVE_SYS_PRCTL_H
  17. #cmakedefine HAVE_SYS_STAT_H
  18. #cmakedefine HAVE_SYS_VFS_H
  19. #cmakedefine HAVE_SYS_STATFS_H
  20. #cmakedefine HAVE_LINUX_MAGIC_H
  21. #cmakedefine HAVE_SYS_MOUNT_H
  22. #cmakedefine HAVE_SYS_STATVFS_H
  23. #cmakedefine HAVE_INTTYPES_H
  24. #cmakedefine HAVE_STDINT_H
  25. #cmakedefine HAVE_SYS_CAPABILITY_H
  26. #cmakedefine HAVE_ARPA_INET_H
  27. #cmakedefine HAVE_NETINET_TCP_H
  28. #cmakedefine HAVE_SYS_IOCTL_H
  29. #cmakedefine HAVE_GRP_H
  30. #cmakedefine HAVE_PWD_H
  31. #cmakedefine HAVE_NET_IF_H
  32. #cmakedefine HAVE_POLL_H
  33. #cmakedefine HAVE_SYSLOG_H
  34. #cmakedefine HAVE_SYS_MMAN_H
  35. #cmakedefine HAVE_SYS_RESOURCE_H
  36. #cmakedefine HAVE_SYS_SOCKET_H
  37. #cmakedefine HAVE_SYS_WAIT_H
  38. #cmakedefine HAVE_SYS_UN_H
  39. #cmakedefine HAVE_SPAWN_H
  40. #cmakedefine HAVE_CAPABILITY
  41. #cmakedefine HAVE_PROTOBUF
  42. #cmakedefine BUNDLED_PROTOBUF
  43. #cmakedefine HAVE_MONGOC
  44. #cmakedefine HAVE_LIBDATACHANNEL
  45. // checked symbols
  46. #cmakedefine MAJOR_IN_SYSMACROS
  47. #cmakedefine MAJOR_IN_MKDEV
  48. #cmakedefine HAVE_CLOCK_GETTIME
  49. #cmakedefine HAVE_STRERROR_R
  50. #cmakedefine HAVE_FINITE
  51. #cmakedefine HAVE_ISFINITE
  52. #cmakedefine HAVE_RECVMMSG
  53. #cmakedefine HAVE_PTHREAD_GETTHREADID_NP
  54. #cmakedefine HAVE_PTHREAD_THREADID_NP
  55. #cmakedefine HAVE_GETTID
  56. #cmakedefine HAVE_WAITID
  57. #cmakedefine HAVE_NICE
  58. #cmakedefine HAVE_GETPRIORITY
  59. #cmakedefine HAVE_SETENV
  60. #cmakedefine HAVE_DLSYM
  61. #cmakedefine HAVE_LIBCURL
  62. #cmakedefine HAVE_ARC4RANDOM_BUF
  63. #cmakedefine HAVE_ARC4RANDOM_UNIFORM
  64. #cmakedefine HAVE_RAND_S
  65. #cmakedefine HAVE_GETRANDOM
  66. #cmakedefine HAVE_SYSINFO
  67. #cmakedefine HAVE_BACKTRACE
  68. #cmakedefine HAVE_CLOSE_RANGE
  69. #cmakedefine HAVE_SCHED_GETSCHEDULER
  70. #cmakedefine HAVE_SCHED_SETSCHEDULER
  71. #cmakedefine HAVE_SCHED_GET_PRIORITY_MIN
  72. #cmakedefine HAVE_SCHED_GET_PRIORITY_MAX
  73. #cmakedefine HAVE_SYSTEMD
  74. #cmakedefine HAVE_SD_JOURNAL_OS_ROOT
  75. #cmakedefine HAVE_SD_JOURNAL_OPEN_FILES_FD
  76. #cmakedefine HAVE_SD_JOURNAL_RESTART_FIELDS
  77. #cmakedefine HAVE_SD_JOURNAL_GET_SEQNUM
  78. #cmakedefine ENABLE_SYSTEMD_DBUS
  79. // checked source compilation
  80. #cmakedefine HAVE_PTHREAD_GETNAME_NP
  81. #cmakedefine HAVE_ACCEPT4
  82. #cmakedefine STRERROR_R_CHAR_P
  83. #cmakedefine HAVE_C__GENERIC
  84. #cmakedefine HAVE_C_MALLOPT
  85. #cmakedefine HAVE_C_MALLOC_TRIM
  86. #cmakedefine HAVE_SETNS
  87. #cmakedefine HAVE_STRNDUP
  88. #cmakedefine SSL_HAS_PENDING
  89. #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_GNU_PRINTF
  90. #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_PRINTF
  91. #cmakedefine HAVE_FUNC_ATTRIBUTE_MALLOC
  92. #cmakedefine HAVE_FUNC_ATTRIBUTE_NOINLINE
  93. #cmakedefine HAVE_FUNC_ATTRIBUTE_NORETURN
  94. #cmakedefine HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
  95. #cmakedefine HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
  96. // enabled features
  97. #cmakedefine ENABLE_ML
  98. #cmakedefine ENABLE_EXPORTING_MONGODB
  99. #cmakedefine ENABLE_H2O
  100. #cmakedefine ENABLE_DBENGINE
  101. #cmakedefine ENABLE_LZ4
  102. #cmakedefine ENABLE_ZSTD
  103. #cmakedefine ENABLE_BROTLI
  104. #cmakedefine ENABLE_LOGSMANAGEMENT
  105. #cmakedefine ENABLE_LOGSMANAGEMENT_TESTS
  106. #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
  107. // enabled plugins
  108. #cmakedefine ENABLE_PLUGIN_DEBUGFS
  109. #cmakedefine ENABLE_PLUGIN_APPS
  110. #cmakedefine ENABLE_PLUGIN_FREEIPMI
  111. #cmakedefine ENABLE_PLUGIN_NFACCT
  112. #cmakedefine ENABLE_PLUGIN_XENSTAT
  113. #cmakedefine ENABLE_PLUGIN_PERF
  114. #cmakedefine ENABLE_PLUGIN_SLABINFO
  115. #cmakedefine ENABLE_PLUGIN_CUPS
  116. #cmakedefine ENABLE_PLUGIN_CGROUP_NETWORK
  117. #cmakedefine ENABLE_PLUGIN_EBPF
  118. // enabled sentry
  119. #cmakedefine ENABLE_SENTRY
  120. #cmakedefine NETDATA_SENTRY_ENVIRONMENT "@NETDATA_SENTRY_ENVIRONMENT@"
  121. #cmakedefine NETDATA_SENTRY_DIST "@NETDATA_SENTRY_DIST@"
  122. #cmakedefine NETDATA_SENTRY_DSN "@NETDATA_SENTRY_DSN@"
  123. // enabled bundling
  124. #cmakedefine ENABLE_BUNDLED_JSONC
  125. #cmakedefine ENABLE_BUNDLED_YAML
  126. #cmakedefine ENABLE_BUNDLED_PROTOBUF
  127. #cmakedefine ENABLE_MIMALLOC
  128. // directory paths
  129. #cmakedefine CACHE_DIR "@CACHE_DIR@"
  130. #cmakedefine CONFIG_DIR "@CONFIG_DIR@"
  131. #cmakedefine LIBCONFIG_DIR "@LIBCONFIG_DIR@"
  132. #cmakedefine LOG_DIR "@LOG_DIR@"
  133. #cmakedefine PLUGINS_DIR "@PLUGINS_DIR@"
  134. #cmakedefine WEB_DIR "@WEB_DIR@"
  135. #cmakedefine VARLIB_DIR "@VARLIB_DIR@"
  136. // config command, user and version
  137. #cmakedefine CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
  138. #cmakedefine NETDATA_USER "@NETDATA_USER@"
  139. #define NETDATA_VERSION_MAJOR "@NETDATA_VERSION_MAJOR@"
  140. #define NETDATA_VERSION_MINOR "@NETDATA_VERSION_MINOR@"
  141. #define NETDATA_VERSION_PATCH "@NETDATA_VERSION_PATCH@"
  142. #define NETDATA_VERSION_TWEAK "@NETDATA_VERSION_TWEAK@"
  143. #define NETDATA_VERSION_DESCR "@NETDATA_VERSION_DESCR@"
  144. #define NETDATA_VERSION "@NETDATA_VERSION_STRING@"
  145. #define ENABLE_JSONC 1
  146. #cmakedefine HAVE_LIBYAML
  147. #cmakedefine HAVE_LIBMNL
  148. #cmakedefine HAVE_WEL
  149. #cmakedefine HAVE_ETW
  150. #cmakedefine RUN_UNDER_CLION
  151. // /* Enable GNU extensions on systems that have them. */
  152. // #ifndef _GNU_SOURCE
  153. // # define _GNU_SOURCE 1
  154. // #endif
  155. // #cmakedefine HAVE_CRYPTO
  156. // #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
  157. // /* NSA spy stuff */
  158. // #cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
  159. #define HAVE_CRYPTO
  160. #define HAVE_X509_VERIFY_PARAM_set1_host 1
  161. /* Enable GNU extensions on systems that have them. */
  162. #ifndef _GNU_SOURCE
  163. #define _GNU_SOURCE 1
  164. #endif