"Fossies" - the Fresh Open Source Software Archive

Member "dbus-1.13.18/cmake/config.h.cmake" (1 Jul 2020, 7543 Bytes) of package /linux/misc/dbus-1.13.18.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "config.h.cmake": 1.13.16_vs_1.13.18.

    1 /* config.h. Generated by cmake from config.h.cmake */
    2 
    3 #ifndef _DBUS_CONFIG_H
    4 #define _DBUS_CONFIG_H
    5 /****************************/
    6 /* indicate that we are building with cmake */
    7 #define DBUS_CMAKE 1
    8 
    9 @AUTOPACKAGE_CONFIG_H_TEMPLATE@
   10 
   11 /*
   12  * Variables defined by AC_DEFINE in ../configure.ac
   13  * should be placed in this file
   14 */
   15 
   16 /* Opt-in to modern APIs and thread-safety for Solaris. In the Autotools
   17  * build system we do the equivalent of this by appending to CFLAGS
   18  * in configure.ac */
   19 #ifdef __sun
   20 # define __EXTENSIONS__
   21 # define _POSIX_PTHREAD_SEMANTICS
   22 # define _REENTRANT
   23 # define _XOPEN_SOURCE 500
   24 #endif
   25 
   26 #cmakedefine DBUS_CONSOLE_AUTH_DIR "@DBUS_CONSOLE_AUTH_DIR@"
   27 #cmakedefine DBUS_DATADIR  "@DBUS_DATADIR@"
   28 #cmakedefine DBUS_BINDIR   "@DBUS_BINDIR@"
   29 #cmakedefine DBUS_PREFIX "@DBUS_PREFIX@"
   30 #cmakedefine DBUS_SYSTEM_CONFIG_FILE  "@DBUS_SYSTEM_CONFIG_FILE@"
   31 #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
   32 #cmakedefine DBUS_SESSION_SOCKET_DIR "@DBUS_SESSION_SOCKET_DIR@"
   33 #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
   34 #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS  "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
   35 #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS  "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
   36 #cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
   37 #cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
   38 #cmakedefine DBUS_RUNSTATEDIR "@DBUS_RUNSTATEDIR@"
   39 
   40 #cmakedefine DBUS_ENABLE_STATS
   41 #cmakedefine DBUS_ENABLE_CONTAINERS
   42 
   43 #define TEST_LISTEN       "@TEST_LISTEN@"
   44 
   45 // test binaries
   46 #define DBUS_EXEEXT "@EXEEXT@"
   47 
   48 /* Some dbus features */
   49 #cmakedefine DBUS_ENABLE_ANSI 1
   50 #cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
   51 #cmakedefine DBUS_DISABLE_ASSERT 1
   52 #ifndef DBUS_DISABLE_ASSERT
   53 #  define DBUS_ENABLE_ASSERT 1
   54 #endif
   55 #cmakedefine DBUS_DISABLE_CHECKS 1
   56 #ifndef DBUS_DISABLE_CHECKS
   57 #  define DBUS_ENABLE_CHECKS 1
   58 #endif
   59 #cmakedefine DBUS_ENABLE_EMBEDDED_TESTS 1
   60 #cmakedefine DBUS_ENABLE_MODULAR_TESTS 1
   61 #cmakedefine DBUS_USE_OUTPUT_DEBUG_STRING 1
   62 
   63 /* xmldocs */
   64 /* doxygen */
   65 #cmakedefine DBUS_GCOV_ENABLED 1
   66 
   67 /* selinux */
   68 /* kqueue */
   69 #cmakedefine HAVE_CONSOLE_OWNER_FILE 1
   70 #define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
   71 
   72 #cmakedefine DBUS_BUILD_X11 1
   73 /* For the moment, the cmake build system doesn't have an equivalent of
   74  * the autoconf build system's --disable-x11-autolaunch */
   75 #ifdef DBUS_BUILD_X11
   76 # define DBUS_ENABLE_X11_AUTOLAUNCH 1
   77 #endif
   78 
   79 /* A 'va_copy' style function */
   80 #cmakedefine DBUS_VA_COPY @DBUS_VA_COPY@
   81 
   82 /* for msvc */
   83 #define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
   84 
   85 #cmakedefine DBUS_WITH_GLIB 1
   86 #cmakedefine GLIB_VERSION_MIN_REQUIRED @GLIB_VERSION_MIN_REQUIRED@
   87 #cmakedefine GLIB_VERSION_MAX_ALLOWED  @GLIB_VERSION_MAX_ALLOWED@
   88 
   89 // headers
   90 #cmakedefine HAVE_ALLOCA_H 1
   91 #cmakedefine HAVE_BYTESWAP_H 1
   92 #cmakedefine HAVE_CRT_EXTERNS_H 1
   93 
   94 /* Define to 1 if you have dirent.h */
   95 #cmakedefine   HAVE_DIRENT_H 1
   96 
   97 #cmakedefine HAVE_DLFCN_H 1
   98 
   99 /* Define to 1 if you have errno.h */
  100 #cmakedefine   HAVE_ERRNO_H 1
  101 
  102 #cmakedefine HAVE_EXECINFO_H 1
  103 #cmakedefine HAVE_EXPAT_H 1
  104 
  105 /* Define to 1 if you have grp.h */
  106 #cmakedefine   HAVE_GRP_H 1
  107 
  108 /* Define to 1 if you have inttypes.h */
  109 #cmakedefine   HAVE_INTTYPES_H 1
  110 
  111 /* Define to 1 if you have io.h */
  112 #cmakedefine   HAVE_IO_H 1
  113 
  114 /* Define to 1 if you have locale.h */
  115 #cmakedefine   HAVE_LOCALE_H 1
  116 
  117 #cmakedefine HAVE_MEMORY_H 1
  118 
  119 /* Define to 1 if you have poll */
  120 #cmakedefine    HAVE_POLL 1
  121 
  122 /* Define to 1 if you have signal.h */
  123 #cmakedefine   HAVE_SIGNAL_H 1
  124 
  125 /* Define to 1 if you have stdint.h */
  126 #cmakedefine   HAVE_STDINT_H 1
  127 
  128 #cmakedefine HAVE_STDLIB_H 1
  129 
  130 /* Define to 1 if you have stdio.h */
  131 #cmakedefine   HAVE_STDIO_H 1
  132 
  133 #cmakedefine HAVE_STRINGS_H 1
  134 #cmakedefine HAVE_STRING_H 1
  135 #cmakedefine HAVE_SYSLOG_H 1
  136 #cmakedefine HAVE_SYS_EVENTS_H 1
  137 #cmakedefine HAVE_SYS_INOTIFY_H 1
  138 #cmakedefine HAVE_SYS_PRCTL_H 1
  139 #cmakedefine HAVE_SYS_RANDOM_H 1
  140 #cmakedefine HAVE_SYS_RESOURCE_H 1
  141 #cmakedefine HAVE_SYS_STAT_H 1
  142 
  143 /* Define to 1 if you have sys/syslimits.h */
  144 #cmakedefine   HAVE_SYS_SYSLIMITS_H 1
  145 
  146 /* Define to 1 if you have sys/time.h */
  147 #cmakedefine    HAVE_SYS_TIME_H 1
  148 
  149 #cmakedefine HAVE_SYS_TYPES_H 1
  150 
  151 #cmakedefine HAVE_SYS_UIO_H 1
  152 
  153 /* Define to 1 if you have sys/wait.h */
  154 #cmakedefine    HAVE_SYS_WAIT_H 1
  155 
  156 /* Define to 1 if you have time.h */
  157 #cmakedefine   HAVE_TIME_H 1
  158 
  159 /* Define to 1 if you have unistd.h */
  160 #cmakedefine   HAVE_UNISTD_H 1
  161 
  162 /* Define to 1 if you have ws2tcpip.h */
  163 #cmakedefine   HAVE_WS2TCPIP_H 1
  164 
  165 // symbols
  166 /* Define to 1 if you have backtrace */
  167 #cmakedefine   HAVE_BACKTRACE 1
  168 
  169 /* Define to 1 if you have getgrouplist */
  170 #cmakedefine   HAVE_GETGROUPLIST 1
  171 
  172 /* Define to 1 if you have getpeerucred */
  173 #cmakedefine   HAVE_GETPEERUCRED 1
  174 
  175 /* Define to 1 if you have nanosleep */
  176 #cmakedefine   HAVE_NANOSLEEP 1
  177 
  178 /* Define to 1 if you have getpwnam_r */
  179 #cmakedefine   HAVE_GETPWNAM_R 1
  180 
  181 /* Define to 1 if you have socketpair */
  182 #cmakedefine   HAVE_SOCKETPAIR 1
  183 
  184 /* Define to 1 if you have setenv */
  185 #cmakedefine   HAVE_SETENV 1
  186 
  187 /* Define to 1 if you have unsetenv */
  188 #cmakedefine   HAVE_UNSETENV 1
  189 
  190 /* Define to 1 if you have clearenv */
  191 #cmakedefine   HAVE_CLEARENV 1
  192 
  193 /* Define to 1 if you have writev */
  194 #cmakedefine   HAVE_WRITEV 1
  195 
  196 /* Define to 1 if you have socklen_t */
  197 #cmakedefine   HAVE_SOCKLEN_T 1
  198 
  199 /* Define to 1 if you have setlocale */
  200 #cmakedefine   HAVE_SETLOCALE 1
  201 
  202 /* Define to 1 if you have localeconv */
  203 #cmakedefine   HAVE_LOCALECONV 1
  204 
  205 /* Define to 1 if you have strtoll */
  206 #cmakedefine   HAVE_STRTOLL 1
  207 
  208 /* Define to 1 if you have strtoull */
  209 #cmakedefine   HAVE_STRTOULL 1
  210 
  211 /* Define to 1 if you have pip2 */
  212 #cmakedefine   HAVE_PIPE2 1
  213 
  214 #cmakedefine HAVE_ACCEPT4 1
  215 
  216 /* Have dirfd function */
  217 #cmakedefine HAVE_DIRFD 1
  218 
  219 /* Have the ddfd member of DIR */
  220 #cmakedefine HAVE_DDFD 1
  221 
  222 #cmakedefine HAVE_INOTIFY_INIT1 1
  223 #cmakedefine HAVE_GETRANDOM 1
  224 #cmakedefine HAVE_GETRLIMIT 1
  225 #cmakedefine HAVE_PRCTL 1
  226 #cmakedefine HAVE_PRLIMIT 1
  227 #cmakedefine HAVE_RAISE 1
  228 #cmakedefine HAVE_SETRLIMIT 1
  229 #cmakedefine HAVE_UNIX_FD_PASSING 1
  230 #cmakedefine HAVE_SYSTEMD
  231 
  232 /* Define to use epoll(4) on Linux */
  233 #cmakedefine DBUS_HAVE_LINUX_EPOLL 1
  234 
  235 /* Use the gcc __sync extension */
  236 #cmakedefine DBUS_USE_SYNC 1
  237 
  238 // structs
  239 /* Define to 1 if you have struct cmsgred */
  240 #cmakedefine    HAVE_CMSGCRED 1
  241 
  242 #cmakedefine FD_SETSIZE @FD_SETSIZE@
  243 
  244 #cmakedefine DBUS_USER "@DBUS_USER@"
  245 #cmakedefine DBUS_TEST_USER "@DBUS_TEST_USER@"
  246 #cmakedefine DBUS_TEST_EXEC "@DBUS_TEST_EXEC@"
  247 
  248 // system type defines
  249 #if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
  250 # define DBUS_WIN
  251 # ifdef _WIN32_WCE
  252 #  define DBUS_WINCE
  253 # else
  254 #  define DBUS_WIN32
  255    /* Define to the minimum supported Windows version (0x0600 is Vista) */
  256 #  define _WIN32_WINNT 0x0600
  257 # endif
  258 #else
  259 # define DBUS_UNIX
  260 #endif 
  261 
  262 #if defined(_WIN32) || defined(_WIN64)
  263 // mingw mode_t
  264 # ifdef HAVE_STDIO_H
  265 #  include <stdio.h>
  266 # endif
  267 # ifndef _MSC_VER
  268 #  define uid_t int
  269 #  define gid_t int
  270 # else
  271 #  define snprintf _snprintf
  272    typedef int mode_t;
  273 #  if !defined(_WIN32_WCE)
  274 #    define strtoll _strtoi64
  275 #    define strtoull _strtoui64
  276 #    define HAVE_STRTOLL 1
  277 #    define HAVE_STRTOULL 1
  278 #  endif
  279 # endif
  280 #endif  // defined(_WIN32) || defined(_WIN64)
  281 
  282 #ifdef interface
  283 #undef interface
  284 #endif
  285 
  286 #ifndef SIGHUP
  287 #define SIGHUP  1
  288 #endif
  289 
  290 #cmakedefine DBUS_VERBOSE_C_S 1
  291 #ifdef DBUS_VERBOSE_C_S
  292 #define _dbus_verbose_C_S printf
  293 #else
  294 #define _dbus_verbose_C_S _dbus_verbose
  295 #endif 
  296 
  297 # if defined(_MSC_VER) && !defined(inline)
  298 #define inline __inline
  299 #endif
  300 
  301 #ifdef DBUS_WIN
  302 #define FD_SETSIZE @FD_SETSIZE@
  303 #endif
  304 
  305 #endif  // _DBUS_CONFIG_H