diff options
author | Julien Cristau <jcristau@debian.org> | 2008-09-09 04:42:36 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-09-09 14:44:54 +0200 |
commit | 25e59ccc0dc8baf344145d6d739229e8120330db (patch) | |
tree | 44e053ffcb1547a0ad7913be8f0bb6101b6c3788 /configure.ac | |
parent | f3f8738436d09f7e590b76e22a7a2cc4b16abd1d (diff) |
Add support for the abstract socket namespace under Linux
Based on same in Xtrans.
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c9cbd0c..062c0cb 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,12 @@ AC_HEADER_STDC AC_SEARCH_LIBS(getaddrinfo, socket) AC_SEARCH_LIBS(connect, socket) +case $host_os in +linux*) + AC_DEFINE([HAVE_ABSTRACT_SOCKETS], 1, [Define if your platform supports abstract sockets]) + ;; +esac + dnl check for the sockaddr_un.sun_len member AC_CHECK_MEMBER([struct sockaddr_un.sun_len], [AC_DEFINE(HAVE_SOCKADDR_SUN_LEN,1,[Have the sockaddr_un.sun_len member.])], |