config.cmake.h.in 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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_BACKTRACE
  67. #cmakedefine HAVE_CLOSE_RANGE
  68. #cmakedefine HAVE_SCHED_GETSCHEDULER
  69. #cmakedefine HAVE_SCHED_SETSCHEDULER
  70. #cmakedefine HAVE_SCHED_GET_PRIORITY_MIN
  71. #cmakedefine HAVE_SCHED_GET_PRIORITY_MAX
  72. #cmakedefine HAVE_SYSTEMD
  73. #cmakedefine HAVE_SD_JOURNAL_OS_ROOT
  74. #cmakedefine HAVE_SD_JOURNAL_OPEN_FILES_FD
  75. #cmakedefine HAVE_SD_JOURNAL_RESTART_FIELDS
  76. #cmakedefine HAVE_SD_JOURNAL_GET_SEQNUM
  77. #cmakedefine ENABLE_SYSTEMD_DBUS
  78. // checked source compilation
  79. #cmakedefine HAVE_PTHREAD_GETNAME_NP
  80. #cmakedefine HAVE_ACCEPT4
  81. #cmakedefine STRERROR_R_CHAR_P
  82. #cmakedefine HAVE_C__GENERIC
  83. #cmakedefine HAVE_C_MALLOPT
  84. #cmakedefine HAVE_SETNS
  85. #cmakedefine HAVE_STRNDUP
  86. #cmakedefine SSL_HAS_PENDING
  87. #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_GNU_PRINTF
  88. #cmakedefine HAVE_FUNC_ATTRIBUTE_FORMAT_PRINTF
  89. #cmakedefine HAVE_FUNC_ATTRIBUTE_MALLOC
  90. #cmakedefine HAVE_FUNC_ATTRIBUTE_NOINLINE
  91. #cmakedefine HAVE_FUNC_ATTRIBUTE_NORETURN
  92. #cmakedefine HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
  93. #cmakedefine HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
  94. // enabled features
  95. #cmakedefine ENABLE_ML
  96. #cmakedefine ENABLE_EXPORTING_MONGODB
  97. #cmakedefine ENABLE_H2O
  98. #cmakedefine ENABLE_DBENGINE
  99. #cmakedefine ENABLE_LZ4
  100. #cmakedefine ENABLE_ZSTD
  101. #cmakedefine ENABLE_BROTLI
  102. #cmakedefine ENABLE_LOGSMANAGEMENT
  103. #cmakedefine ENABLE_LOGSMANAGEMENT_TESTS
  104. #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
  105. // enabled plugins
  106. #cmakedefine ENABLE_PLUGIN_DEBUGFS
  107. #cmakedefine ENABLE_PLUGIN_APPS
  108. #cmakedefine ENABLE_PLUGIN_FREEIPMI
  109. #cmakedefine ENABLE_PLUGIN_NFACCT
  110. #cmakedefine ENABLE_PLUGIN_XENSTAT
  111. #cmakedefine ENABLE_PLUGIN_PERF
  112. #cmakedefine ENABLE_PLUGIN_SLABINFO
  113. #cmakedefine ENABLE_PLUGIN_CUPS
  114. #cmakedefine ENABLE_PLUGIN_CGROUP_NETWORK
  115. #cmakedefine ENABLE_PLUGIN_EBPF
  116. // enabled sentry
  117. #cmakedefine ENABLE_SENTRY
  118. #cmakedefine NETDATA_SENTRY_ENVIRONMENT "@NETDATA_SENTRY_ENVIRONMENT@"
  119. #cmakedefine NETDATA_SENTRY_DIST "@NETDATA_SENTRY_DIST@"
  120. #cmakedefine NETDATA_SENTRY_DSN "@NETDATA_SENTRY_DSN@"
  121. // enabled bundling
  122. #cmakedefine ENABLE_BUNDLED_JSONC
  123. #cmakedefine ENABLE_BUNDLED_YAML
  124. #cmakedefine ENABLE_BUNDLED_PROTOBUF
  125. #cmakedefine ENABLE_MIMALLOC
  126. // directory paths
  127. #cmakedefine CACHE_DIR "@CACHE_DIR@"
  128. #cmakedefine CONFIG_DIR "@CONFIG_DIR@"
  129. #cmakedefine LIBCONFIG_DIR "@LIBCONFIG_DIR@"
  130. #cmakedefine LOG_DIR "@LOG_DIR@"
  131. #cmakedefine PLUGINS_DIR "@PLUGINS_DIR@"
  132. #cmakedefine WEB_DIR "@WEB_DIR@"
  133. #cmakedefine VARLIB_DIR "@VARLIB_DIR@"
  134. // config command, user and version
  135. #cmakedefine CONFIGURE_COMMAND "@CONFIGURE_COMMAND@"
  136. #cmakedefine NETDATA_USER "@NETDATA_USER@"
  137. #define NETDATA_VERSION_MAJOR "@NETDATA_VERSION_MAJOR@"
  138. #define NETDATA_VERSION_MINOR "@NETDATA_VERSION_MINOR@"
  139. #define NETDATA_VERSION_PATCH "@NETDATA_VERSION_PATCH@"
  140. #define NETDATA_VERSION_TWEAK "@NETDATA_VERSION_TWEAK@"
  141. #define NETDATA_VERSION_DESCR "@NETDATA_VERSION_DESCR@"
  142. #define NETDATA_VERSION "@NETDATA_VERSION_STRING@"
  143. #define ENABLE_JSONC 1
  144. #cmakedefine HAVE_LIBYAML
  145. #cmakedefine HAVE_LIBMNL
  146. #cmakedefine HAVE_WEL
  147. #cmakedefine HAVE_ETW
  148. #cmakedefine RUN_UNDER_CLION
  149. // /* Enable GNU extensions on systems that have them. */
  150. // #ifndef _GNU_SOURCE
  151. // # define _GNU_SOURCE 1
  152. // #endif
  153. // #cmakedefine HAVE_CRYPTO
  154. // #cmakedefine ENABLE_PROMETHEUS_REMOTE_WRITE
  155. // /* NSA spy stuff */
  156. // #cmakedefine01 HAVE_X509_VERIFY_PARAM_set1_host
  157. #define HAVE_CRYPTO
  158. #define HAVE_X509_VERIFY_PARAM_set1_host 1
  159. /* Enable GNU extensions on systems that have them. */
  160. #ifndef _GNU_SOURCE
  161. #define _GNU_SOURCE 1
  162. #endif