1 /* config.h. Generated by cmake from config.h.cmake */
5 /****************************/
6 /* indicate that we are building with cmake */
9 #cmakedefine HAVE_GNUC_VARARGS 1
11 #cmakedefine DBUS_CONSOLE_AUTH_DIR "@DBUS_CONSOLE_AUTH_DIR@"
12 #cmakedefine DBUS_DATADIR "@DBUS_DATADIR@"
13 #cmakedefine DBUS_BINDIR "@DBUS_BINDIR@"
14 #cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
15 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
16 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
17 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
18 #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
19 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
20 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
21 #cmakedefine PACKAGE "@PACKAGE@"
22 /* Version number of package */
23 #cmakedefine DBUS_MAJOR_VERSION @DBUS_MAJOR_VERSION@
24 #cmakedefine DBUS_MINOR_VERSION @DBUS_MINOR_VERSION@
25 #cmakedefine DBUS_MICRO_VERSION @DBUS_MICRO_VERSION@
26 #cmakedefine DBUS_VERSION ((@DBUS_MAJOR_VERSION@ << 16) | (@DBUS_MINOR_VERSION@ << 8) | (@DBUS_MICRO_VERSION@))
27 #cmakedefine DBUS_VERSION_STRING "@DBUS_VERSION_STRING@"
28 #cmakedefine DBUS_ENABLE_STATS
30 #define VERSION DBUS_VERSION_STRING
32 #define TEST_LISTEN "@TEST_LISTEN@"
35 #define DBUS_TEST_EXEC "@DBUS_TEST_EXEC@"
36 #define DBUS_EXEEXT "@EXEEXT@"
38 /* Full path to test file test/test-exit in builddir */
39 #define TEST_BUS_BINARY "@TEST_BUS_BINARY@"
41 /* Some dbus features */
42 #cmakedefine DBUS_BUILD_TESTS 1
43 #cmakedefine DBUS_ENABLE_ANSI 1
44 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
45 #cmakedefine DBUS_DISABLE_ASSERTS 1
46 #cmakedefine DBUS_DISABLE_CHECKS 1
49 #cmakedefine DBUS_GCOV_ENABLED 1
51 /* abstract-sockets */
53 #cmakedefine HAVE_ABSTRACT_SOCKETS 1
55 #cmakedefine DBUS_PATH_OR_ABSTRACT_VALUE 1
57 #if (defined DBUS_PATH_OR_ABSTRACT_VALUE)
58 #define DBUS_PATH_OR_ABSTRACT @DBUS_PATH_OR_ABSTRACT_VALUE@
61 #ifdef DBUS_PATH_OR_ABSTRACT_VALUE
62 #undef DBUS_PATH_OR_ABSTRACT_VALUE
66 #cmakedefine DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1
68 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
69 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
71 #cmakedefine DBUS_HAVE_ATOMIC_INT 1
72 #cmakedefine DBUS_USE_ATOMIC_INT_486 1
73 #if (defined(__i386__) || defined(__x86_64__))
74 # define DBUS_HAVE_ATOMIC_INT 1
75 # define DBUS_USE_ATOMIC_INT_486 1
78 #cmakedefine DBUS_BUILD_X11 1
79 /* For the moment, the cmake build system doesn't have an equivalent of
80 * the autoconf build system's --disable-x11-autolaunch */
82 # define DBUS_ENABLE_X11_AUTOLAUNCH 1
85 #define DBUS_DEFAULT_MESSAGE_UNIX_FDS @DEFAULT_MESSAGE_UNIX_FDS@
87 #define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
89 #cmakedefine DBUS_VA_COPY_FUNC
90 #if (defined DBUS_VA_COPY_FUNC)
91 # define DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
94 #ifdef DBUS_VA_COPY_FUNC
95 #undef DBUS_VA_COPY_FUNC
98 #cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
101 /* Define to 1 if you have dirent.h */
102 #cmakedefine HAVE_DIRENT_H 1
104 /* Define to 1 if you have io.h */
105 #cmakedefine HAVE_IO_H 1
107 /* Define to 1 if you have grp.h */
108 #cmakedefine HAVE_GRP_H 1
110 /* Define to 1 if you have sys/poll.h */
111 #cmakedefine HAVE_POLL 1
113 /* Define to 1 if you have sys/time.h */
114 #cmakedefine HAVE_SYS_TIME 1
116 /* Define to 1 if you have sys/wait.h */
117 #cmakedefine HAVE_SYS_WAIT 1
119 /* Define to 1 if you have time.h */
120 #cmakedefine HAVE_TIME_H 1
122 /* Define to 1 if you have ws2tcpip.h */
123 #cmakedefine HAVE_WS2TCPIP_H
125 /* Define to 1 if you have wspiapi.h */
126 #cmakedefine HAVE_WSPIAPI_H 1
128 /* Define to 1 if you have unistd.h */
129 #cmakedefine HAVE_UNISTD_H 1
131 /* Define to 1 if you have stdio.h */
132 #cmakedefine HAVE_STDIO_H 1
134 /* Define to 1 if you have sys/syslimits.h */
135 #cmakedefine HAVE_SYS_SYSLIMITS_H 1
137 /* Define to 1 if you have errno.h */
138 #cmakedefine HAVE_ERRNO_H 1
140 /* Define to 1 if you have signal.h */
141 #cmakedefine HAVE_SIGNAL_H 1
143 /* Define to 1 if you have locale.h */
144 #cmakedefine HAVE_LOCALE_H 1
146 /* Define to 1 if you have inttypes.h */
147 #cmakedefine HAVE_INTTYPES_H 1
149 /* Define to 1 if you have stdint.h */
150 #cmakedefine HAVE_STDINT_H 1
153 /* Define to 1 if you have backtrace */
154 #cmakedefine HAVE_BACKTRACE 1
156 /* Define to 1 if you have getgrouplist */
157 #cmakedefine HAVE_GETGROUPLIST 1
159 /* Define to 1 if you have getpeerucred */
160 #cmakedefine HAVE_GETPEERUCRED 1
162 /* Define to 1 if you have nanosleep */
163 #cmakedefine HAVE_NANOSLEEP 1
165 /* Define to 1 if you have getpwnam_r */
166 #cmakedefine HAVE_POSIX_GETPWNAM_R 1
168 /* Define to 1 if you have socketpair */
169 #cmakedefine HAVE_SOCKETPAIR 1
171 /* Define to 1 if you have setenv */
172 #cmakedefine HAVE_SETENV 1
174 /* Define to 1 if you have unsetenv */
175 #cmakedefine HAVE_UNSETENV 1
177 /* Define to 1 if you have clearenv */
178 #cmakedefine HAVE_CLEARENV 1
180 /* Define to 1 if you have writev */
181 #cmakedefine HAVE_WRITEV 1
183 /* Define to 1 if you have socklen_t */
184 #cmakedefine HAVE_SOCKLEN_T 1
186 /* Define to 1 if you have setlocale */
187 #cmakedefine HAVE_SETLOCALE 1
189 /* Define to 1 if you have localeconv */
190 #cmakedefine HAVE_LOCALECONV 1
192 /* Define to 1 if you have strtoll */
193 #cmakedefine HAVE_STRTOLL 1
195 /* Define to 1 if you have strtoull */
196 #cmakedefine HAVE_STRTOULL 1
199 /* Define to 1 if you have struct cmsgred */
200 #cmakedefine HAVE_CMSGCRED 1
202 // system type defines
203 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
205 # define DBUS_WIN_FIXME 1
215 #if defined(_WIN32) || defined(_WIN64)
224 # define snprintf _snprintf
226 # if !defined(_WIN32_WCE)
227 # define strtoll _strtoi64
228 # define strtoull _strtoui64
229 # define HAVE_STRTOLL 1
230 # define HAVE_STRTOULL 1
233 #endif // defined(_WIN32) || defined(_WIN64)
243 #cmakedefine DBUS_VERBOSE_C_S 1
244 #ifdef DBUS_VERBOSE_C_S
245 #define _dbus_verbose_C_S printf
247 #define _dbus_verbose_C_S _dbus_verbose
250 # if defined(_MSC_VER) && !defined(inline)
251 #define inline __inline
254 #endif // _DBUS_CONFIG_H