4f52387858216d8d51b7f169aa3dc734f26ee9ae
[platform/upstream/dbus.git] / cmake / config.h.cmake
1 /* config.h. Generated by cmake from config.h.cmake */
2
3 #ifndef _DBUS_CONFIG_H
4 #define _DBUS_CONFIG_H
5 /****************************/
6
7 #cmakedefine HAVE_GNUC_VARARGS 1
8
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 DAEMON_NAME "@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 VERSION "@VERSION@"
22 // test binaries
23 /* Full path to test file test/test-exit in builddir */
24 #define TEST_BUS_BINARY          "@TEST_BUS_BINARY@"
25 /* Full path to test file test/test-exit in builddir */
26 #define TEST_EXIT_BINARY          "@TEST_EXIT_BINARY@"
27 /* Full path to test file test/test-segfault in builddir */
28 #define TEST_SEGFAULT_BINARY      "@TEST_SEGFAULT_BINARY@"
29 /* Full path to test file test/test-service in builddir */
30 #define TEST_SERVICE_BINARY       "@TEST_SERVICE_BINARY@"
31 /* Full path to test file test/test-shell-service in builddir */
32 #define TEST_SHELL_SERVICE_BINARY "@TEST_SHELL_SERVICE_BINARY@"
33 /* Full path to test file test/test-sleep-forever in builddir */
34 #define TEST_SLEEP_FOREVER_BINARY "@TEST_SLEEP_FOREVER_BINARY@"
35
36 /* Some dbus features */
37 #cmakedefine DBUS_BUILD_TESTS 1
38 #cmakedefine DBUS_ENABLE_ANSI 1
39 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
40 #cmakedefine DBUS_DISABLE_ASSERTS 1
41 #cmakedefine DBUS_DISABLE_CHECKS 1
42 /* xmldocs */
43 /* doxygen */
44 #cmakedefine DBUS_GCOV_ENABLED 1
45 /* abstract-sockets */
46 /* selinux */
47 #cmakedefine DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1
48 /* kqueue */
49 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
50 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
51
52 #cmakedefine DBUS_HAVE_ATOMIC_INT 1
53 #cmakedefine DBUS_USE_ATOMIC_INT_486 1
54 #if (defined(__i386__) || defined(__x86_64__))
55 # define DBUS_HAVE_ATOMIC_INT 1
56 # define DBUS_USE_ATOMIC_INT_486 1
57 #endif
58
59 #cmakedefine DBUS_BUILD_X11 1
60
61 #cmakedefine DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
62
63 // headers
64 /* Define to 1 if you have dirent.h */
65 #cmakedefine   HAVE_DIRENT_H 1
66
67 /* Define to 1 if you have io.h */
68 #cmakedefine   HAVE_IO_H 1
69
70 /* Define to 1 if you have grp.h */
71 #cmakedefine   HAVE_GRP_H 1
72
73 /* Define to 1 if you have sys/poll.h */
74 #cmakedefine    HAVE_POLL 1
75
76 /* Define to 1 if you have sys/time.h */
77 #cmakedefine    HAVE_SYS_TIME 1
78
79 /* Define to 1 if you have sys/wait.h */
80 #cmakedefine    HAVE_SYS_WAIT 1
81
82 /* Define to 1 if you have time.h */
83 #cmakedefine   HAVE_TIME_H 1
84
85 /* Define to 1 if you have wspiapi.h */
86 #cmakedefine   HAVE_WSPIAPI_H 1
87
88 /* Define to 1 if you have unistd.h */
89 #cmakedefine   HAVE_UNISTD_H 1
90
91 /* Define to 1 if you have errno.h */
92 #cmakedefine   HAVE_ERRNO_H 1
93
94 /* Define to 1 if you have stdio.h */
95 #cmakedefine   HAVE_STDIO_H 1
96
97 /* Define to 1 if you have sys/syslimits.h */
98 #cmakedefine   HAVE_SYS_SYSLIMITS_H 1
99
100 // symbols
101 /* Define to 1 if you have backtrace */
102 #cmakedefine   HAVE_BACKTRACE 1
103
104 /* Define to 1 if you have getgrouplist */
105 #cmakedefine   HAVE_GETGROUPLIST 1
106
107 /* Define to 1 if you have getpeerucred */
108 #cmakedefine   HAVE_GETPEERUCRED 1
109
110 /* Define to 1 if you have nanosleep */
111 #cmakedefine   HAVE_NANOSLEEP 1
112
113 /* Define to 1 if you have getpwnam_r */
114 #cmakedefine   HAVE_POSIX_GETPWNAM_R 1
115
116 /* Define to 1 if you have socketpair */
117 #cmakedefine   HAVE_SOCKETPAIR 1
118
119 /* Define to 1 if you have setenv */
120 #cmakedefine   HAVE_SETENV 1
121
122 /* Define to 1 if you have unsetenv */
123 #cmakedefine   HAVE_UNSETENV 1
124
125 /* Define to 1 if you have writev */
126 #cmakedefine   HAVE_WRITEV 1
127
128 /* Define to 1 if you have socklen_t */
129 #cmakedefine   HAVE_SOCKLEN_T 1
130
131 // structs
132 /* Define to 1 if you have struct cmsgred */
133 #cmakedefine    HAVE_CMSGCRED 1
134
135 // system type defines
136 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
137 # define DBUS_WIN
138 # define DBUS_WIN_FIXME 1
139 # ifdef _WIN32_WCE
140 #  define DBUS_WINCE
141 # else
142 #  define DBUS_WIN32
143 # endif
144 #else
145 # define DBUS_UNIX
146 #endif 
147
148 #if defined(_WIN32) || defined(_WIN64)
149 // mingw mode_t
150 # ifdef HAVE_STDIO_H
151 #  include <stdio.h>
152 # endif
153 # ifndef _MSC_VER
154 #  define uid_t int
155 #  define gid_t int
156 # else
157 #  define snprintf _snprintf
158 #  define strtoll _strtoi64
159 #  define strtoull _strtoui64
160    typedef int mode_t;
161 # endif
162 # ifdef DBUS_VA_COPY
163 #  undef DBUS_VA_COPY // DBUS_VA_COPY kills mingw's bus-test
164 # endif
165 #endif  // defined(_WIN32) || defined(_WIN64)
166
167 #ifdef interface
168 #undef interface
169 #endif
170
171 #ifndef SIGHUP
172 #define SIGHUP  1
173 #endif
174
175 #cmakedefine DBUS_VERBOSE_C_S 1
176 #ifdef DBUS_VERBOSE_C_S
177 #define _dbus_verbose_C_S printf
178 #else
179 #define _dbus_verbose_C_S _dbus_verbose
180 #endif 
181
182 #endif  // _DBUS_CONFIG_H