summaryrefslogtreecommitdiff
path: root/cmake/ConfigureChecks.cmake
Commit message (Collapse)AuthorAgeFilesLines
* unix: Condition Linux-specific abstract sockets on __linux__Simon McVittie2017-09-291-10/+0
| | | | | | | | | | | This is nicer for cross-compiling, because AC_RUN_IFELSE can't work there. In practice abstract sockets are supported on Linux since 2.2 (so, all relevant versions), and on no other platform; so it seems futile to keep this complexity. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34905 Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com>
* build: Remove unused substitution DBUS_PATH_OR_ABSTRACTSimon McVittie2017-09-291-7/+0
| | | | | | | | | | This was presumably once used in constructs like "unix:" DBUS_PATH_OR_ABSTRACT "=/var/run/dbus/foo", but git grep says there are no remaining uses, so it can go. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34905 Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com>
* Add missing include file for cmake function check_include_files() (commit ↵Ralf Habacker2015-03-051-0/+1
| | | | 2d2b5af)
* Move include file checks to ConfigureChecks.cmake for cmake build system.Ralf Habacker2015-03-051-0/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Keep include file checks in sync with autotools.Ralf Habacker2015-03-051-9/+25
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Fix broken cmake HAVE_SOCKLEN_T type finding check.Ralf Habacker2015-03-051-1/+3
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* cmake: check for the necessary symbols for test-segfault.cSimon McVittie2015-02-201-0/+3
| | | | | | | | | | | | If we don't check for them, and you have core dumps enabled, then running this test under cmake is really annoying, because it leaves lots of core dumps none of which are actually a problem. The equivalent Autotools change (which added the actual code that this relies on) is commit ae50d46, from fd.o#83772. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83115 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
* Add configure checks for accept4, dirfd, inotify_init1 and unix_fd_passing ↵Ralf Habacker2014-10-241-0/+4
| | | | | | | to cmake build system. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73689 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Add configure check for pipe2 to cmake build system.Ralf Habacker2014-10-171-0/+2
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73689 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* CMake warning--.Ralf Habacker2014-01-171-1/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Remove support for platforms with no 64-bit integer typeSimon McVittie2013-09-161-4/+2
| | | | | | | | | | | | | | | This has been a soft requirement since 1.5.0; anyone on such platforms would have had to configure --without-64-bit, provoking a warning that instructed them to report a D-Bus bug with details of their platform. Nobody has done so, so if anyone still lacks a 64-bit integer type, they're on their own. (Also, I tried the build with --without-64-bit and it's full of fatal compiler warnings, so it's not clear that we're actually losing anything by removing this "feature".) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65429 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
* dbus-sysdeps-win: don't include wspiapi.hSimon McVittie2013-09-161-1/+0
| | | | | | | | | | | | | | | | | | | | | This block provoked a warning on mingw-w64 because we were redefining _inline. According to Ralf's research, it was introduced in 452ff68a: Windows 2000 doesn't have getaddrinfo and related functions in ws2tcpip.h, but does have a shim implementation in wspiapi.h. At the time of 452ff68a, mingw32 didn't have wspiapi.h, so it's unclear why there was a __GNUC__ code path here. The "#define _inline" on that code path looks likely to be some sort of workaround for a faulty version of wspiapi.h? Current mingw-w64 does have wspiapi.h, so we enter the __GNUC__ code path and get the redefinition. dbus no longer supports Windows 2000, so we no longer need wspiapi.h at all, and can rely on XP or later. (Ralf's policy is to only support versions of Windows that are still supported by Microsoft, and Windows 2000 reached the end of its life-cycle in 2010.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852 Reviewed-by: Ralf Habacker
* Use dbus/dbus-arch-deps.h.in as source for cmake tooRalf Habacker2011-09-231-27/+23
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41033 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* fix {u}intptr_t usage on wince with msvcRomain Pokrzywka2010-05-051-0/+1
|
* Don't truncate pointers on Windows x64 platformFridrich Štrba2010-05-031-0/+1
|
* Fix warnings on Windows CE target.Marcus Brinkmann2010-04-141-0/+1
|
* add missing HAVE_ macros to cmakeRomain Pokrzywka2010-04-131-1/+6
|
* Added signal.h and locale.h detection for cmake build system.Ralf Habacker2010-03-221-0/+2
|
* apply remaining unapplied parts of eeedba5b2f5b008819619764943caddd52441adf ↵Romain Pokrzywka2010-02-071-2/+4
| | | | in dbus4win
* with msvc, replace va_copy by assigning the va_lists (cherry picked from ↵Frank Osterfeld2009-12-011-1/+4
| | | | commit 42d613fc9284afaa9543549be26f32e503a58348)
* add check for abstract sockets (cherry picked from commit ↵Frank Osterfeld2009-11-301-0/+17
| | | | 5b657984f4bc5544a8df560adcd224ed243972f1)
* fix configure check and VA_COPY usageFrank Osterfeld2009-11-301-3/+5
| | | | | | | * fix configure check: set DBUS_VA_COPY_FUNC correctly, and DBUS_VA_COPY_AS_ARRAY if no usable one was found * add DBUS_VA_COPY_AS_ARRAY * define DBUS_VA_COPY indirectly, cmakedefine plus variable does not work for me on windows, and is the wrong thing to do according to Allen. The undef seems unnecessary now, the address parsing test passes on windows, using mingw (cherry picked from commit e6680d78d943be4ee2d85e9d82cd8aa1350db882)
* mingw compile++ , w2k-support++Christian Ehrlicher2009-11-291-0/+1
| | | | | | | | dbus/dbus-sysdeps-win.c: Don't unconditionally #include <wspiapi.h> * cmake/ConfigureChecks.cmake, cmake/config.h.cmake, configure.in: check for wspiapi.h presence which isn't available (and unneeded) in mingw32 * dbus/dbus-sysdeps-win.c: use HAVE_WSPIAPI_H
* * cmake/ConfigureChecks.cmake,cmake/config.h.cmake: added check for HAVE_ERRNO_HRalf Habacker2007-06-151-0/+1
| | | | | | | | | * cmake/dbus/CMakeLists.txt: added missing files * dbus/dbus-transport-win.c/.h: new files * dbus/dbus-sysdeps-win.c,.h: added required _unix functions to make dbus compilable on win32 * dbus/dbus-sysdeps-win-utils.c,.h: moved some functions to dbus-sysdeps-win.c * dbus-win.patch: removed applied or obsolate patches Note: dbus-win32 is now compilable, no guarantee that it runs without any problems
* * cmake: added cygwin compile supportRalf Habacker2007-06-031-1/+2
|
* * cmake/ConfigureChecks.cmake: fixed socketpair check, added setrlimit check ↵Ralf Habacker2007-03-081-1/+2
| | | | really
* * cmake: new directory, contains cmake build support.Ralf Habacker2007-03-031-0/+126
See http://www.cmake.org for more informations. Currently only unix will be buildable because some win32 required files are still missing.