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_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
21 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
22 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
23 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
24 #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
25 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
26 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
28 #cmakedefine DBUS_ENABLE_STATS
30 #define TEST_LISTEN "@TEST_LISTEN@"
33 #define DBUS_TEST_EXEC "@DBUS_TEST_EXEC@"
34 #define DBUS_EXEEXT "@EXEEXT@"
36 /* Some dbus features */
37 #cmakedefine DBUS_ENABLE_ANSI 1
38 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
39 #cmakedefine DBUS_DISABLE_ASSERT 1
40 #ifndef DBUS_DISABLE_ASSERT
41 # define DBUS_ENABLE_ASSERT 1
43 #cmakedefine DBUS_DISABLE_CHECKS 1
44 #ifndef DBUS_DISABLE_CHECKS
45 # define DBUS_ENABLE_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
67 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
68 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
70 #cmakedefine DBUS_HAVE_ATOMIC_INT 1
71 #cmakedefine DBUS_USE_ATOMIC_INT_486 1
72 #if (defined(__i386__) || defined(__x86_64__))
73 # define DBUS_HAVE_ATOMIC_INT 1
74 # define DBUS_USE_ATOMIC_INT_486 1
77 #cmakedefine DBUS_BUILD_X11 1
78 /* For the moment, the cmake build system doesn't have an equivalent of
79 * the autoconf build system's --disable-x11-autolaunch */
81 # define DBUS_ENABLE_X11_AUTOLAUNCH 1
84 #define DBUS_DEFAULT_MESSAGE_UNIX_FDS @DEFAULT_MESSAGE_UNIX_FDS@
86 #define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
88 #cmakedefine DBUS_VA_COPY_FUNC
89 #if (defined DBUS_VA_COPY_FUNC)
90 # define DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
93 #ifdef DBUS_VA_COPY_FUNC
94 #undef DBUS_VA_COPY_FUNC
97 #cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
100 /* Define to 1 if you have dirent.h */
101 #cmakedefine HAVE_DIRENT_H 1
103 /* Define to 1 if you have io.h */
104 #cmakedefine HAVE_IO_H 1
106 /* Define to 1 if you have grp.h */
107 #cmakedefine HAVE_GRP_H 1
109 /* Define to 1 if you have sys/poll.h */
110 #cmakedefine HAVE_POLL 1
112 /* Define to 1 if you have sys/time.h */
113 #cmakedefine HAVE_SYS_TIME 1
115 /* Define to 1 if you have sys/wait.h */
116 #cmakedefine HAVE_SYS_WAIT 1
118 /* Define to 1 if you have time.h */
119 #cmakedefine HAVE_TIME_H 1
121 /* Define to 1 if you have ws2tcpip.h */
122 #cmakedefine HAVE_WS2TCPIP_H
124 /* Define to 1 if you have unistd.h */
125 #cmakedefine HAVE_UNISTD_H 1
127 /* Define to 1 if you have stdio.h */
128 #cmakedefine HAVE_STDIO_H 1
130 /* Define to 1 if you have sys/syslimits.h */
131 #cmakedefine HAVE_SYS_SYSLIMITS_H 1
133 /* Define to 1 if you have errno.h */
134 #cmakedefine HAVE_ERRNO_H 1
136 /* Define to 1 if you have signal.h */
137 #cmakedefine HAVE_SIGNAL_H 1
139 /* Define to 1 if you have locale.h */
140 #cmakedefine HAVE_LOCALE_H 1
142 /* Define to 1 if you have inttypes.h */
143 #cmakedefine HAVE_INTTYPES_H 1
145 /* Define to 1 if you have stdint.h */
146 #cmakedefine HAVE_STDINT_H 1
149 /* Define to 1 if you have backtrace */
150 #cmakedefine HAVE_BACKTRACE 1
152 /* Define to 1 if you have getgrouplist */
153 #cmakedefine HAVE_GETGROUPLIST 1
155 /* Define to 1 if you have getpeerucred */
156 #cmakedefine HAVE_GETPEERUCRED 1
158 /* Define to 1 if you have nanosleep */
159 #cmakedefine HAVE_NANOSLEEP 1
161 /* Define to 1 if you have getpwnam_r */
162 #cmakedefine HAVE_POSIX_GETPWNAM_R 1
164 /* Define to 1 if you have socketpair */
165 #cmakedefine HAVE_SOCKETPAIR 1
167 /* Define to 1 if you have setenv */
168 #cmakedefine HAVE_SETENV 1
170 /* Define to 1 if you have unsetenv */
171 #cmakedefine HAVE_UNSETENV 1
173 /* Define to 1 if you have clearenv */
174 #cmakedefine HAVE_CLEARENV 1
176 /* Define to 1 if you have writev */
177 #cmakedefine HAVE_WRITEV 1
179 /* Define to 1 if you have socklen_t */
180 #cmakedefine HAVE_SOCKLEN_T 1
182 /* Define to 1 if you have setlocale */
183 #cmakedefine HAVE_SETLOCALE 1
185 /* Define to 1 if you have localeconv */
186 #cmakedefine HAVE_LOCALECONV 1
188 /* Define to 1 if you have strtoll */
189 #cmakedefine HAVE_STRTOLL 1
191 /* Define to 1 if you have strtoull */
192 #cmakedefine HAVE_STRTOULL 1
195 /* Define to 1 if you have struct cmsgred */
196 #cmakedefine HAVE_CMSGCRED 1
198 // system type defines
199 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
201 # define DBUS_WIN_FIXME 1
211 #if defined(_WIN32) || defined(_WIN64)
220 # define snprintf _snprintf
222 # if !defined(_WIN32_WCE)
223 # define strtoll _strtoi64
224 # define strtoull _strtoui64
225 # define HAVE_STRTOLL 1
226 # define HAVE_STRTOULL 1
229 #endif // defined(_WIN32) || defined(_WIN64)
239 #cmakedefine DBUS_VERBOSE_C_S 1
240 #ifdef DBUS_VERBOSE_C_S
241 #define _dbus_verbose_C_S printf
243 #define _dbus_verbose_C_S _dbus_verbose
246 # if defined(_MSC_VER) && !defined(inline)
247 #define inline __inline
250 #endif // _DBUS_CONFIG_H