1 /* config.h. Generated by cmake from config.h.cmake */
5 /****************************/
7 #cmakedefine HAVE_GNUC_VARARGS 1
9 #cmakedefine DBUS_CONSOLE_AUTH_DIR "@DBUS_CONSOLE_AUTH_DIR@"
10 #cmakedefine DBUS_DATADIR "@DBUS_DATADIR@"
11 #cmakedefine DBUS_BINDIR "@DBUS_BINDIR@"
12 #cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
13 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
14 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
15 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
16 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
17 //#cmakedefine DBUS_SESSION_BUS_DEFAULT_ADDRESS "@DBUS_SESSION_BUS_DEFAULT_ADDRESS@"
18 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
19 #cmakedefine PACKAGE "@PACKAGE@"
20 /* Version number of package */
21 #cmakedefine DBUS_MAJOR_VERSION @DBUS_MAJOR_VERSION@
22 #cmakedefine DBUS_MINOR_VERSION @DBUS_MINOR_VERSION@
23 #cmakedefine DBUS_MICRO_VERSION @DBUS_MICRO_VERSION@
24 #cmakedefine DBUS_VERSION ((@DBUS_MAJOR_VERSION@ << 16) | (@DBUS_MINOR_VERSION@ << 8) | (@DBUS_MICRO_VERSION@))
25 #cmakedefine DBUS_VERSION_STRING "@DBUS_VERSION_STRING@"
27 #define VERSION DBUS_VERSION_STRING
29 #define TEST_LISTEN "@TEST_LISTEN@"
30 #define TEST_CONNECTION "@TEST_CONNECTION@"
33 /* Full path to test file test/test-exit in builddir */
34 #define TEST_BUS_BINARY "@TEST_BUS_BINARY@"
35 /* Full path to test file test/test-exit in builddir */
36 #define TEST_EXIT_BINARY "@TEST_EXIT_BINARY@"
37 /* Full path to test file test/test-segfault in builddir */
38 #define TEST_SEGFAULT_BINARY "@TEST_SEGFAULT_BINARY@"
39 /* Full path to test file test/test-service in builddir */
40 #define TEST_SERVICE_BINARY "@TEST_SERVICE_BINARY@"
41 /* Full path to test file test/test-shell-service in builddir */
42 #define TEST_SHELL_SERVICE_BINARY "@TEST_SHELL_SERVICE_BINARY@"
43 /* Full path to test file test/test-sleep-forever in builddir */
44 #define TEST_SLEEP_FOREVER_BINARY "@TEST_SLEEP_FOREVER_BINARY@"
46 /* Some dbus features */
47 #cmakedefine DBUS_BUILD_TESTS 1
48 #cmakedefine DBUS_ENABLE_ANSI 1
49 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
50 #cmakedefine DBUS_DISABLE_ASSERTS 1
51 #cmakedefine DBUS_DISABLE_CHECKS 1
54 #cmakedefine DBUS_GCOV_ENABLED 1
56 /* abstract-sockets */
58 #cmakedefine HAVE_ABSTRACT_SOCKETS 1
60 #cmakedefine DBUS_PATH_OR_ABSTRACT_VALUE 1
62 #if (defined DBUS_PATH_OR_ABSTRACT_VALUE)
63 #define DBUS_PATH_OR_ABSTRACT @DBUS_PATH_OR_ABSTRACT_VALUE@
66 #ifdef DBUS_PATH_OR_ABSTRACT_VALUE
67 #undef DBUS_PATH_OR_ABSTRACT_VALUE
71 #cmakedefine DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1
73 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
74 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
76 #cmakedefine DBUS_HAVE_ATOMIC_INT 1
77 #cmakedefine DBUS_USE_ATOMIC_INT_486 1
78 #if (defined(__i386__) || defined(__x86_64__))
79 # define DBUS_HAVE_ATOMIC_INT 1
80 # define DBUS_USE_ATOMIC_INT_486 1
83 #cmakedefine DBUS_BUILD_X11 1
85 #define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
87 #cmakedefine DBUS_VA_COPY_FUNC
88 #if (defined DBUS_VA_COPY_FUNC)
89 # define DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
92 #ifdef DBUS_VA_COPY_FUNC
93 #undef DBUS_VA_COPY_FUNC
96 #cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
99 /* Define to 1 if you have dirent.h */
100 #cmakedefine HAVE_DIRENT_H 1
102 /* Define to 1 if you have io.h */
103 #cmakedefine HAVE_IO_H 1
105 /* Define to 1 if you have grp.h */
106 #cmakedefine HAVE_GRP_H 1
108 /* Define to 1 if you have sys/poll.h */
109 #cmakedefine HAVE_POLL 1
111 /* Define to 1 if you have sys/time.h */
112 #cmakedefine HAVE_SYS_TIME 1
114 /* Define to 1 if you have sys/wait.h */
115 #cmakedefine HAVE_SYS_WAIT 1
117 /* Define to 1 if you have time.h */
118 #cmakedefine HAVE_TIME_H 1
120 /* Define to 1 if you have wspiapi.h */
121 #cmakedefine HAVE_WSPIAPI_H 1
123 /* Define to 1 if you have unistd.h */
124 #cmakedefine HAVE_UNISTD_H 1
126 /* Define to 1 if you have stdio.h */
127 #cmakedefine HAVE_STDIO_H 1
129 /* Define to 1 if you have sys/syslimits.h */
130 #cmakedefine HAVE_SYS_SYSLIMITS_H 1
132 /* Define to 1 if you have errno.h */
133 #cmakedefine HAVE_ERRNO_H 1
135 /* Define to 1 if you have signal.h */
136 #cmakedefine HAVE_SIGNAL_H 1
138 /* Define to 1 if you have locale.h */
139 #cmakedefine HAVE_LOCALE_H 1
142 /* Define to 1 if you have backtrace */
143 #cmakedefine HAVE_BACKTRACE 1
145 /* Define to 1 if you have getgrouplist */
146 #cmakedefine HAVE_GETGROUPLIST 1
148 /* Define to 1 if you have getpeerucred */
149 #cmakedefine HAVE_GETPEERUCRED 1
151 /* Define to 1 if you have nanosleep */
152 #cmakedefine HAVE_NANOSLEEP 1
154 /* Define to 1 if you have getpwnam_r */
155 #cmakedefine HAVE_POSIX_GETPWNAM_R 1
157 /* Define to 1 if you have socketpair */
158 #cmakedefine HAVE_SOCKETPAIR 1
160 /* Define to 1 if you have setenv */
161 #cmakedefine HAVE_SETENV 1
163 /* Define to 1 if you have unsetenv */
164 #cmakedefine HAVE_UNSETENV 1
166 /* Define to 1 if you have clearenv */
167 #cmakedefine HAVE_CLEARENV 1
169 /* Define to 1 if you have writev */
170 #cmakedefine HAVE_WRITEV 1
172 /* Define to 1 if you have socklen_t */
173 #cmakedefine HAVE_SOCKLEN_T 1
175 /* Define to 1 if you have setlocale */
176 #cmakedefine HAVE_SETLOCALE 1
178 /* Define to 1 if you have localeconv */
179 #cmakedefine HAVE_LOCALECONV 1
181 /* Define to 1 if you have strtoll */
182 #cmakedefine HAVE_STRTOLL 1
184 /* Define to 1 if you have strtoull */
185 #cmakedefine HAVE_STRTOULL 1
188 /* Define to 1 if you have struct cmsgred */
189 #cmakedefine HAVE_CMSGCRED 1
191 // system type defines
192 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
194 # define DBUS_WIN_FIXME 1
204 #if defined(_WIN32) || defined(_WIN64)
213 # define snprintf _snprintf
215 # if !defined(_WIN32_WCE)
216 # define strtoll _strtoi64
217 # define strtoull _strtoui64
218 # define HAVE_STRTOLL 1
219 # define HAVE_STRTOULL 1
222 #endif // defined(_WIN32) || defined(_WIN64)
232 #cmakedefine DBUS_VERBOSE_C_S 1
233 #ifdef DBUS_VERBOSE_C_S
234 #define _dbus_verbose_C_S printf
236 #define _dbus_verbose_C_S _dbus_verbose
239 #endif // _DBUS_CONFIG_H