unix: Condition Linux-specific abstract sockets on __linux__
authorSimon McVittie <smcv@collabora.com>
Fri, 29 Sep 2017 11:27:11 +0000 (12:27 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 29 Sep 2017 13:04:57 +0000 (14:04 +0100)
commit6a6521746bce81c50d77b560b2ee9948c1a5efd0
tree5c5c7aa914d134ef3a4294e88947376e63e76806
parent633a208ce72eef3d8322f97c8671ce577aa87775
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>
README.cmake
cmake/CMakeLists.txt
cmake/ConfigureChecks.cmake
cmake/config.h.cmake
cmake/modules/CheckForAbstractSockets.c [deleted file]
configure.ac
dbus/dbus-server-unix.c
dbus/dbus-sysdeps-unix.c