diff options
author | Simon McVittie <smcv@collabora.com> | 2017-09-29 12:27:11 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2017-09-29 14:04:57 +0100 |
commit | 6a6521746bce81c50d77b560b2ee9948c1a5efd0 (patch) | |
tree | 5c5c7aa914d134ef3a4294e88947376e63e76806 /cmake/ConfigureChecks.cmake | |
parent | 633a208ce72eef3d8322f97c8671ce577aa87775 (diff) | |
download | dbus-6a6521746bce81c50d77b560b2ee9948c1a5efd0.tar.gz |
unix: Condition Linux-specific abstract sockets on __linux__
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>
Diffstat (limited to 'cmake/ConfigureChecks.cmake')
-rw-r--r-- | cmake/ConfigureChecks.cmake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 6815178b..d83810a7 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -66,7 +66,6 @@ check_symbol_exists(raise "signal.h" HAVE_RAISE) check_struct_member(cmsgcred cmcred_pid "sys/types.h sys/socket.h" HAVE_CMSGCRED) # dbus-sysdeps.c # missing: -# HAVE_ABSTRACT_SOCKETS # DBUS_HAVE_GCC33_GCOV check_type_size("short" SIZEOF_SHORT) @@ -168,12 +167,3 @@ else(DBUS_HAVE_VA_COPY) endif(DBUS_HAVE___VA_COPY) endif(DBUS_HAVE_VA_COPY) endif(MSVC) # _not_ MSVC -#### Abstract sockets - -if (DBUS_ENABLE_ABSTRACT_SOCKETS) - - try_compile(HAVE_ABSTRACT_SOCKETS - ${CMAKE_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/modules/CheckForAbstractSockets.c) - -endif(DBUS_ENABLE_ABSTRACT_SOCKETS) |