1 // Copyright (c) 2023-present The Limenka developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or https://opensource.org/license/mit/.
4 5 #ifndef LIMENKA_CONFIG_H
6 #define LIMENKA_CONFIG_H
7 8 /* Version Build */
9 #define CLIENT_VERSION_BUILD @CLIENT_VERSION_BUILD@
10 11 /* Version is release */
12 #define CLIENT_VERSION_IS_RELEASE @CLIENT_VERSION_IS_RELEASE@
13 14 /* Major version */
15 #define CLIENT_VERSION_MAJOR @CLIENT_VERSION_MAJOR@
16 17 /* Minor version */
18 #define CLIENT_VERSION_MINOR @CLIENT_VERSION_MINOR@
19 20 /* Copyright holder(s) before %s replacement */
21 #define COPYRIGHT_HOLDERS "@COPYRIGHT_HOLDERS@"
22 23 /* Copyright holder(s) */
24 #define COPYRIGHT_HOLDERS_FINAL "@COPYRIGHT_HOLDERS_FINAL@"
25 26 /* Replacement for %s in copyright holders string */
27 #define COPYRIGHT_HOLDERS_SUBSTITUTION "@CLIENT_NAME@"
28 29 /* Copyright year */
30 #define COPYRIGHT_YEAR @COPYRIGHT_YEAR@
31 32 #cmakedefine ENABLE_POWER8 1
33 34 /* Define this symbol to build code that uses ARMv8 SHA-NI intrinsics */
35 #cmakedefine ENABLE_ARM_SHANI 1
36 37 /* Define this symbol to build code that uses AVX2 intrinsics */
38 #cmakedefine ENABLE_AVX2 1
39 40 /* Define if external signer support is enabled */
41 #cmakedefine ENABLE_EXTERNAL_SIGNER 1
42 43 #cmakedefine ENABLE_TOR_SUBPROCESS 1
44 45 /* Define this symbol to build code that uses SSE4.1 intrinsics */
46 #cmakedefine ENABLE_SSE41 1
47 48 /* Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing
49 */
50 #cmakedefine ENABLE_TRACING 1
51 52 /* Define this symbol if the consensus lib has been built */
53 #cmakedefine HAVE_CONSENSUS_LIB 1
54 55 /* Define to 1 to enable wallet functions. */
56 #cmakedefine ENABLE_WALLET 1
57 58 /* Define this symbol to build code that uses x86 SHA-NI intrinsics */
59 #cmakedefine ENABLE_X86_SHANI 1
60 61 /* Define to 1 if you have the declaration of `fork', and to 0 if you don't.
62 */
63 #cmakedefine01 HAVE_DECL_FORK
64 65 /* Define to 1 if you have the declaration of `freeifaddrs', and to 0 if you
66 don't. */
67 #cmakedefine01 HAVE_DECL_FREEIFADDRS
68 69 /* Define to 1 if you have the declaration of `getifaddrs', and to 0 if you
70 don't. */
71 #cmakedefine01 HAVE_DECL_GETIFADDRS
72 73 /* Define to 1 if you have the declaration of `pipe2', and to 0 if you don't.
74 */
75 #cmakedefine01 HAVE_DECL_PIPE2
76 77 /* Define to 1 if you have the declaration of `setsid', and to 0 if you don't.
78 */
79 #cmakedefine01 HAVE_DECL_SETSID
80 81 /* Define to 1 if fdatasync is available. */
82 #cmakedefine HAVE_FDATASYNC 1
83 84 /* Define this symbol if the BSD getentropy system call is available with
85 sys/random.h */
86 #cmakedefine HAVE_GETENTROPY_RAND 1
87 88 /* Define this symbol if the Linux getrandom function call is available */
89 #cmakedefine HAVE_GETRANDOM 1
90 91 /* Define this symbol if you have malloc_info */
92 #cmakedefine HAVE_MALLOC_INFO 1
93 94 /* Define this symbol if you have mallopt with M_ARENA_MAX */
95 #cmakedefine HAVE_MALLOPT_ARENA_MAX 1
96 97 /* Define to 1 if O_CLOEXEC flag is available. */
98 #cmakedefine01 HAVE_O_CLOEXEC
99 100 /* Define this symbol if you have posix_fallocate */
101 #cmakedefine HAVE_POSIX_FALLOCATE 1
102 103 #cmakedefine01 HAVE_IOPOLICY
104 105 #cmakedefine01 HAVE_IOPRIO_SYSCALL
106 107 #cmakedefine01 HAVE_WINDOWS_IOPRIO
108 109 /* Define this symbol if platform supports unix domain sockets */
110 #cmakedefine HAVE_SOCKADDR_UN 1
111 112 /* Define to 1 if close_range works with just unistd.h included. */
113 #cmakedefine01 HAVE_CLOSE_RANGE_GENERIC
114 115 /* Define to 1 if close_range works only with Linux-specific includes. */
116 #cmakedefine01 HAVE_CLOSE_RANGE_LINUX
117 118 /* Define this symbol to build code that uses getauxval */
119 #cmakedefine HAVE_STRONG_GETAUXVAL 1
120 121 #cmakedefine HAVE_LINUX_SYSINFO 1
122 123 /* Define this symbol if the BSD sysctl() is available */
124 #cmakedefine HAVE_SYSCTL 1
125 126 /* Define this symbol if the BSD sysctl(KERN_ARND) is available */
127 #cmakedefine HAVE_SYSCTL_ARND 1
128 129 /* Define to 1 if std::system or ::wsystem is available. */
130 #cmakedefine HAVE_SYSTEM 1
131 132 /* Define to 1 if you have the <sys/prctl.h> header file. */
133 #cmakedefine HAVE_SYS_PRCTL_H 1
134 135 /* Define to 1 if you have the <sys/resources.h> header file. */
136 #cmakedefine HAVE_SYS_RESOURCES_H 1
137 138 /* Define to 1 if you have the <sys/vmmeter.h> header file. */
139 #cmakedefine HAVE_SYS_VMMETER_H 1
140 141 /* Define to 1 if you have the <vm/vm_param.h> header file. */
142 #cmakedefine HAVE_VM_VM_PARAM_H 1
143 144 /* Define to the address where bug reports for this package should be sent. */
145 #define CLIENT_BUGREPORT "@CLIENT_BUGREPORT@"
146 147 /* Define to the full name of this package. */
148 #define CLIENT_NAME "@CLIENT_NAME@"
149 150 /* Define to the home page for this package. */
151 #define CLIENT_URL "@PROJECT_HOMEPAGE_URL@"
152 153 /* Define to the version of this package. */
154 #define CLIENT_VERSION_STRING "@CLIENT_VERSION_STRING@"
155 156 /* Define to 1 if strerror_r returns char *. */
157 #cmakedefine STRERROR_R_CHAR_P 1
158 159 /* Define if BDB support should be compiled in */
160 #cmakedefine USE_BDB 1
161 162 /* Define if dbus support should be compiled in */
163 #cmakedefine USE_DBUS 1
164 165 /* Define if Windows taskbar progress support should be compiled in */
166 #cmakedefine LIMENKA_QT_WIN_TASKBAR 1
167 168 /* Define if QR support should be compiled in */
169 #cmakedefine USE_QRCODE 1
170 171 /* Define if sqlite support should be compiled in */
172 #cmakedefine USE_SQLITE 1
173 174 /* Define if building embedded LevelDB */
175 #cmakedefine EMBEDDED_LEVELDB 1
176 177 #define RDTS_CONSENT RDTSConsentFlag::@RDTS_CONSENT@
178 179 #endif //LIMENKA_CONFIG_H
180