Debian Codegraph @

cmake/config.h.cmake

raw
1 /* config.h. Generated by cmake from config.h.cmake */
2
3 #ifndef _DBUS_CONFIG_H
4 #define _DBUS_CONFIG_H
5
6 #cmakedefine VERSION "@VERSION@"
7
8 /* On Windows, we expect to be using msvcrt.dll-compatible printf
9 * (%I64u instead of %llu) unless otherwise specified. This must be
10 * done near the beginning of config.h, before we have included any
11 * system headers that might check the value of this macro. */
12 #ifndef __USE_MINGW_ANSI_STDIO
13 # define __USE_MINGW_ANSI_STDIO 0
14 #endif
15
16 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
17 #cmakedefine _TIME_BITS @_TIME_BITS@
18 #cmakedefine WORDS_BIGENDIAN
19
20 /* Opt-in to modern APIs and thread-safety for Solaris. In the Autotools
21 * build system we do the equivalent of this by appending to CFLAGS
22 * in configure.ac */
23 #ifdef __sun
24 # define __EXTENSIONS__
25 # define _POSIX_PTHREAD_SEMANTICS
26 # define _REENTRANT
27 # define _XOPEN_SOURCE 500
28 #endif
29
30 #cmakedefine DBUS_DATADIR "@DBUS_DATADIR@"
31 #cmakedefine DBUS_BINDIR "@DBUS_BINDIR@"
32 #cmakedefine DBUS_PREFIX "@DBUS_PREFIX@"
33 #cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
34 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
35 #cmakedefine DBUS_SESSION_SOCKET_DIR "@DBUS_SESSION_SOCKET_DIR@"
36 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
37 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
38 #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
39 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
40 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
41 #cmakedefine DBUS_RUNSTATEDIR "@DBUS_RUNSTATEDIR@"
42
43 #cmakedefine DBUS_ENABLE_STATS
44 #cmakedefine ENABLE_TRADITIONAL_ACTIVATION
45
46 #define TEST_LISTEN "@TEST_LISTEN@"
47
48 // test binaries
49 #define DBUS_EXEEXT "@EXEEXT@"
50
51 /* Some dbus features */
52 #cmakedefine DBUS_ENABLE_ANSI 1
53 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
54 #cmakedefine DBUS_DISABLE_ASSERT 1
55 #ifndef DBUS_DISABLE_ASSERT
56 # define DBUS_ENABLE_ASSERT 1
57 #endif
58 #cmakedefine DBUS_DISABLE_CHECKS 1
59 #ifndef DBUS_DISABLE_CHECKS
60 # define DBUS_ENABLE_CHECKS 1
61 #endif
62 #cmakedefine DBUS_ENABLE_INTRUSIVE_TESTS 1
63 #cmakedefine DBUS_ENABLE_MODULAR_TESTS 1
64 #cmakedefine DBUS_USE_OUTPUT_DEBUG_STRING 1
65
66 /* Compatibility with the old name for this functionality */
67 #ifdef DBUS_ENABLE_INTRUSIVE_TESTS
68 # define DBUS_ENABLE_EMBEDDED_TESTS 1
69 #endif
70
71 /* xmldocs */
72 /* doxygen */
73 #cmakedefine DBUS_GCOV_ENABLED 1
74
75 /* selinux */
76 /* kqueue */
77 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
78 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
79
80 #cmakedefine DBUS_BUILD_X11 1
81 /* For the moment, the cmake build system doesn't have an equivalent of
82 * the autoconf build system's --disable-x11-autolaunch */
83 #ifdef DBUS_BUILD_X11
84 # define DBUS_ENABLE_X11_AUTOLAUNCH 1
85 #endif
86
87 #cmakedefine GLIB_VERSION_MIN_REQUIRED @GLIB_VERSION_MIN_REQUIRED@
88 #cmakedefine GLIB_VERSION_MAX_ALLOWED @GLIB_VERSION_MAX_ALLOWED@
89
90 // headers
91 #cmakedefine HAVE_AFUNIX_H 1
92 #cmakedefine HAVE_ALLOCA_H 1
93 #cmakedefine HAVE_BYTESWAP_H 1
94 #cmakedefine HAVE_CRT_EXTERNS_H 1
95
96 /* Define to 1 if you have dirent.h */
97 #cmakedefine HAVE_DIRENT_H 1
98
99 /* Define to 1 if you have errno.h */
100 #cmakedefine HAVE_ERRNO_H 1
101
102 /* Define to 1 if you have inttypes.h */
103 #cmakedefine HAVE_INTTYPES_H 1
104
105 /* Define to 1 if you have io.h */
106 #cmakedefine HAVE_IO_H 1
107
108 /* Define to 1 if you have locale.h */
109 #cmakedefine HAVE_LOCALE_H 1
110
111 /* Define to 1 if you have poll */
112 #cmakedefine HAVE_POLL 1
113
114 /* Define to 1 if you have signal.h */
115 #cmakedefine HAVE_SIGNAL_H 1
116
117 /* Define to 1 if you have stdio.h */
118 #cmakedefine HAVE_STDIO_H 1
119
120 #cmakedefine HAVE_STDATOMIC_H 1
121 #cmakedefine HAVE_SYSLOG_H 1
122 #cmakedefine HAVE_SYS_EVENTS_H 1
123 #cmakedefine HAVE_SYS_INOTIFY_H 1
124 #cmakedefine HAVE_LINUX_MAGIC_H 1
125 #cmakedefine HAVE_SYS_PRCTL_H 1
126 #cmakedefine HAVE_SYS_RANDOM_H 1
127 #cmakedefine HAVE_SYS_RESOURCE_H 1
128 #cmakedefine HAVE_SYS_SYSCALL_H 1
129 #cmakedefine HAVE_SYS_VFS_H 1
130
131 /* Define to 1 if you have sys/time.h */
132 #cmakedefine HAVE_SYS_TIME_H 1
133
134 /* Define to 1 if you have unistd.h */
135 #cmakedefine HAVE_UNISTD_H 1
136
137 /* Define to 1 if you have ws2tcpip.h */
138 #cmakedefine HAVE_WS2TCPIP_H 1
139
140 // symbols
141 /* Define to 1 if you have backtrace */
142 #cmakedefine HAVE_BACKTRACE 1
143
144 /* Define to 1 if you have getgrouplist */
145 #cmakedefine HAVE_GETGROUPLIST 1
146
147 /* Define to 1 if you have getpeerucred */
148 #cmakedefine HAVE_GETPEERUCRED 1
149
150 /* Define to 1 if you have nanosleep */
151 #cmakedefine HAVE_NANOSLEEP 1
152
153 /* Define to 1 if you have getpwnam_r */
154 #cmakedefine HAVE_GETPWNAM_R 1
155
156 /* Define to 1 if you have socketpair */
157 #cmakedefine HAVE_SOCKETPAIR 1
158
159 /* Define to 1 if you have setenv */
160 #cmakedefine HAVE_SETENV 1
161
162 /* Define to 1 if you have unsetenv */
163 #cmakedefine HAVE_UNSETENV 1
164
165 /* Define to 1 if you have clearenv */
166 #cmakedefine HAVE_CLEARENV 1
167
168 /* Define to 1 if you have closefrom */
169 #cmakedefine HAVE_CLOSEFROM 1
170
171 /* Define to 1 if you have close_range */
172 #cmakedefine HAVE_CLOSE_RANGE 1
173
174 /* Define to 1 if you have writev */
175 #cmakedefine HAVE_WRITEV 1
176
177 /* Define to 1 if you have socklen_t */
178 #cmakedefine HAVE_SOCKLEN_T 1
179
180 /* Define to 1 if you have setlocale */
181 #cmakedefine HAVE_SETLOCALE 1
182
183 /* Define to 1 if you have localeconv */
184 #cmakedefine HAVE_LOCALECONV 1
185
186 /* Define to 1 if you have pip2 */
187 #cmakedefine HAVE_PIPE2 1
188
189 #cmakedefine HAVE_ACCEPT4 1
190
191 #cmakedefine HAVE_FSTATFS 1
192 #cmakedefine HAVE_INOTIFY_INIT1 1
193 #cmakedefine HAVE_GETRANDOM 1
194 #cmakedefine HAVE_GETRLIMIT 1
195 #cmakedefine HAVE_PRCTL 1
196 #cmakedefine HAVE_PRLIMIT 1
197 #cmakedefine HAVE_RAISE 1
198 #cmakedefine HAVE_SETRLIMIT 1
199 #cmakedefine HAVE_UNIX_FD_PASSING 1
200 #cmakedefine HAVE_SYSTEMD
201
202 /* Define to use epoll(4) on Linux */
203 #cmakedefine DBUS_HAVE_LINUX_EPOLL 1
204
205 /* Use the gcc __sync extension */
206 #cmakedefine01 DBUS_USE_SYNC
207
208 #cmakedefine HAVE_SETRESUID 1
209 #cmakedefine HAVE_GETRESUID 1
210 /* whether -export-dynamic was passed to libtool */
211 #cmakedefine DBUS_BUILT_R_DYNAMIC 1
212
213 /* Enable GNU extensions on systems that have them. */
214 #ifndef _GNU_SOURCE
215 #cmakedefine _GNU_SOURCE 1
216 #endif
217
218 // structs
219 /* Define to 1 if you have struct cmsgred */
220 #cmakedefine HAVE_CMSGCRED 1
221
222 #cmakedefine FD_SETSIZE @FD_SETSIZE@
223
224 #cmakedefine DBUS_USER "@DBUS_USER@"
225 #cmakedefine DBUS_TEST_USER "@DBUS_TEST_USER@"
226 #cmakedefine DBUS_TEST_EXEC "@DBUS_TEST_EXEC@"
227 /* Where to put test sockets */
228 #define DBUS_TEST_SOCKET_DIR "@TEST_SOCKET_DIR@"
229
230 // system type defines
231 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
232 # define DBUS_WIN
233 # ifdef _WIN32_WCE
234 # define DBUS_WINCE
235 # else
236 # define DBUS_WIN32
237 /* Define to the minimum supported Windows version (0x0600 is Vista) */
238 # define _WIN32_WINNT 0x0600
239 # endif
240 #else
241 # define DBUS_UNIX
242 #endif
243
244 #if defined(_WIN32) || defined(_WIN64)
245 // mingw mode_t
246 # ifdef HAVE_STDIO_H
247 # include <stdio.h>
248 # endif
249 # ifndef _MSC_VER
250 # define uid_t int
251 # define gid_t int
252 # else
253 typedef int mode_t;
254 # endif
255 #endif // defined(_WIN32) || defined(_WIN64)
256
257 #ifdef interface
258 #undef interface
259 #endif
260
261 #ifndef SIGHUP
262 #define SIGHUP 1
263 #endif
264
265 #ifdef DBUS_WIN
266 #define FD_SETSIZE @FD_SETSIZE@
267 #endif
268
269 #cmakedefine01 HAVE_DECL_ENVIRON
270 #cmakedefine01 HAVE_DECL_LOG_PERROR
271 #cmakedefine01 HAVE_DECL_MSG_NOSIGNAL
272 #cmakedefine01 HAVE_DECL_SYS_PIDFD_OPEN
273
274 #endif // _DBUS_CONFIG_H