1 /* config.h. Generated by cmake from config.h.cmake */
5 /****************************/
6 /* indicate that we are building with cmake */
9 @AUTOPACKAGE_CONFIG_H_TEMPLATE@
12 * Variables defined by AC_DEFINE in ../configure.ac
13 * should be placed in this file
15 #cmakedefine HAVE_GNUC_VARARGS 1
17 #cmakedefine DBUS_CONSOLE_AUTH_DIR "@DBUS_CONSOLE_AUTH_DIR@"
18 #cmakedefine DBUS_DATADIR "@DBUS_DATADIR@"
19 #cmakedefine DBUS_BINDIR "@DBUS_BINDIR@"
20 #cmakedefine DBUS_PREFIX "@DBUS_PREFIX@"
21 #cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
22 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
23 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
24 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
25 #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
26 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
27 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
28 #cmakedefine DBUS_RUNSTATEDIR "@DBUS_RUNSTATEDIR@"
30 #cmakedefine DBUS_ENABLE_STATS
32 #define TEST_LISTEN "@TEST_LISTEN@"
35 #define DBUS_EXEEXT "@EXEEXT@"
37 /* Some dbus features */
38 #cmakedefine DBUS_ENABLE_ANSI 1
39 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
40 #cmakedefine DBUS_DISABLE_ASSERT 1
41 #ifndef DBUS_DISABLE_ASSERT
42 # define DBUS_ENABLE_ASSERT 1
44 #cmakedefine DBUS_DISABLE_CHECKS 1
45 #ifndef DBUS_DISABLE_CHECKS
46 # define DBUS_ENABLE_CHECKS 1
50 #cmakedefine DBUS_GCOV_ENABLED 1
52 /* abstract-sockets */
54 #cmakedefine HAVE_ABSTRACT_SOCKETS 1
56 #cmakedefine DBUS_PATH_OR_ABSTRACT_VALUE 1
58 #if (defined DBUS_PATH_OR_ABSTRACT_VALUE)
59 #define DBUS_PATH_OR_ABSTRACT @DBUS_PATH_OR_ABSTRACT_VALUE@
62 #ifdef DBUS_PATH_OR_ABSTRACT_VALUE
63 #undef DBUS_PATH_OR_ABSTRACT_VALUE
68 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
69 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
71 #cmakedefine DBUS_BUILD_X11 1
72 /* For the moment, the cmake build system doesn't have an equivalent of
73 * the autoconf build system's --disable-x11-autolaunch */
75 # define DBUS_ENABLE_X11_AUTOLAUNCH 1
78 #define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
80 #cmakedefine DBUS_VA_COPY_FUNC
81 #if (defined DBUS_VA_COPY_FUNC)
82 # define DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
85 #ifdef DBUS_VA_COPY_FUNC
86 #undef DBUS_VA_COPY_FUNC
89 #cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
91 #cmakedefine DBUS_WITH_GLIB 1
92 #cmakedefine GLIB_VERSION_MIN_REQUIRED @GLIB_VERSION_MIN_REQUIRED@
93 #cmakedefine GLIB_VERSION_MAX_ALLOWED @GLIB_VERSION_MAX_ALLOWED@
96 #cmakedefine HAVE_ALLOCA_H
97 #cmakedefine HAVE_BYTESWAP_H
98 #cmakedefine HAVE_CRT_EXTERNS_H
100 /* Define to 1 if you have dirent.h */
101 #cmakedefine HAVE_DIRENT_H 1
103 #cmakedefine HAVE_DLFCN_H
105 /* Define to 1 if you have errno.h */
106 #cmakedefine HAVE_ERRNO_H 1
108 #cmakedefine HAVE_EXECINFO_H
109 #cmakedefine HAVE_EXPAT_H
111 /* Define to 1 if you have grp.h */
112 #cmakedefine HAVE_GRP_H 1
114 /* Define to 1 if you have inttypes.h */
115 #cmakedefine HAVE_INTTYPES_H 1
117 /* Define to 1 if you have io.h */
118 #cmakedefine HAVE_IO_H 1
120 /* Define to 1 if you have locale.h */
121 #cmakedefine HAVE_LOCALE_H 1
123 #cmakedefine HAVE_MEMORY_H
125 /* Define to 1 if you have sys/poll.h */
126 #cmakedefine HAVE_POLL 1
128 /* Define to 1 if you have signal.h */
129 #cmakedefine HAVE_SIGNAL_H 1
131 /* Define to 1 if you have stdint.h */
132 #cmakedefine HAVE_STDINT_H 1
134 #cmakedefine HAVE_STDLIB_H
136 /* Define to 1 if you have stdio.h */
137 #cmakedefine HAVE_STDIO_H 1
139 #cmakedefine HAVE_STRINGS_H
140 #cmakedefine HAVE_STRING_H
141 #cmakedefine HAVE_SYSLOG_H
142 #cmakedefine HAVE_SYS_EVENTS_H
143 #cmakedefine HAVE_SYS_INOTIFY_H
144 #cmakedefine HAVE_SYS_PRCTL_H
145 #cmakedefine HAVE_SYS_RESOURCE_H
146 #cmakedefine HAVE_SYS_STAT_H
148 /* Define to 1 if you have sys/syslimits.h */
149 #cmakedefine HAVE_SYS_SYSLIMITS_H 1
151 /* Define to 1 if you have sys/time.h */
152 #cmakedefine HAVE_SYS_TIME_H 1
154 #cmakedefine HAVE_SYS_TYPES_H
156 #cmakedefine HAVE_SYS_UIO_H
158 /* Define to 1 if you have sys/wait.h */
159 #cmakedefine HAVE_SYS_WAIT_H 1
161 /* Define to 1 if you have time.h */
162 #cmakedefine HAVE_TIME_H 1
164 /* Define to 1 if you have unistd.h */
165 #cmakedefine HAVE_UNISTD_H 1
167 /* Define to 1 if you have ws2tcpip.h */
168 #cmakedefine HAVE_WS2TCPIP_H
171 /* Define to 1 if you have backtrace */
172 #cmakedefine HAVE_BACKTRACE 1
174 /* Define to 1 if you have getgrouplist */
175 #cmakedefine HAVE_GETGROUPLIST 1
177 /* Define to 1 if you have getpeerucred */
178 #cmakedefine HAVE_GETPEERUCRED 1
180 /* Define to 1 if you have nanosleep */
181 #cmakedefine HAVE_NANOSLEEP 1
183 /* Define to 1 if you have getpwnam_r */
184 #cmakedefine HAVE_POSIX_GETPWNAM_R 1
186 /* Define to 1 if you have socketpair */
187 #cmakedefine HAVE_SOCKETPAIR 1
189 /* Define to 1 if you have setenv */
190 #cmakedefine HAVE_SETENV 1
192 /* Define to 1 if you have unsetenv */
193 #cmakedefine HAVE_UNSETENV 1
195 /* Define to 1 if you have clearenv */
196 #cmakedefine HAVE_CLEARENV 1
198 /* Define to 1 if you have writev */
199 #cmakedefine HAVE_WRITEV 1
201 /* Define to 1 if you have socklen_t */
202 #cmakedefine HAVE_SOCKLEN_T 1
204 /* Define to 1 if you have setlocale */
205 #cmakedefine HAVE_SETLOCALE 1
207 /* Define to 1 if you have localeconv */
208 #cmakedefine HAVE_LOCALECONV 1
210 /* Define to 1 if you have strtoll */
211 #cmakedefine HAVE_STRTOLL 1
213 /* Define to 1 if you have strtoull */
214 #cmakedefine HAVE_STRTOULL 1
216 /* Define to 1 if you have pip2 */
217 #cmakedefine HAVE_PIPE2
219 #cmakedefine HAVE_ACCEPT4 1
220 #cmakedefine HAVE_DIRFD 1
221 #cmakedefine HAVE_INOTIFY_INIT1 1
222 #cmakedefine HAVE_UNIX_FD_PASSING 1
225 /* Define to 1 if you have struct cmsgred */
226 #cmakedefine HAVE_CMSGCRED 1
228 #cmakedefine FD_SETSIZE @FD_SETSIZE@
230 #cmakedefine DBUS_USER "@DBUS_USER@"
231 #cmakedefine DBUS_TEST_USER "@DBUS_TEST_USER@"
233 // system type defines
234 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
236 # define DBUS_WIN_FIXME 1
246 #if defined(_WIN32) || defined(_WIN64)
255 # define snprintf _snprintf
257 # if !defined(_WIN32_WCE)
258 # define strtoll _strtoi64
259 # define strtoull _strtoui64
260 # define HAVE_STRTOLL 1
261 # define HAVE_STRTOULL 1
264 #endif // defined(_WIN32) || defined(_WIN64)
274 #cmakedefine DBUS_VERBOSE_C_S 1
275 #ifdef DBUS_VERBOSE_C_S
276 #define _dbus_verbose_C_S printf
278 #define _dbus_verbose_C_S _dbus_verbose
281 # if defined(_MSC_VER) && !defined(inline)
282 #define inline __inline
286 #define FD_SETSIZE @FD_SETSIZE@
289 #endif // _DBUS_CONFIG_H