Lines 389-396
Link Here
|
389 |
|
389 |
|
390 |
AC_MSG_CHECKING(abstract socket namespace) |
390 |
AC_MSG_CHECKING(abstract socket namespace) |
391 |
AC_LANG_PUSH(C) |
391 |
AC_LANG_PUSH(C) |
392 |
AC_RUN_IFELSE([AC_LANG_PROGRAM( |
392 |
AC_TRY_RUN([ |
393 |
[[ |
|
|
394 |
#include <sys/types.h> |
393 |
#include <sys/types.h> |
395 |
#include <stdlib.h> |
394 |
#include <stdlib.h> |
396 |
#include <string.h> |
395 |
#include <string.h> |
Lines 398-405
Link Here
|
398 |
#include <sys/socket.h> |
397 |
#include <sys/socket.h> |
399 |
#include <sys/un.h> |
398 |
#include <sys/un.h> |
400 |
#include <errno.h> |
399 |
#include <errno.h> |
401 |
]], |
400 |
|
402 |
[[ |
401 |
int main() { |
403 |
int listen_fd; |
402 |
int listen_fd; |
404 |
struct sockaddr_un addr; |
403 |
struct sockaddr_un addr; |
405 |
|
404 |
|
Lines 424-432
Link Here
|
424 |
} |
423 |
} |
425 |
else |
424 |
else |
426 |
exit (0); |
425 |
exit (0); |
427 |
]])], |
426 |
} |
428 |
[have_abstract_sockets=yes], |
427 |
], |
429 |
[have_abstract_sockets=no]) |
428 |
have_abstract_sockets=yes, |
|
|
429 |
have_abstract_sockets=no, |
430 |
have_abstract_sockets=no) |
430 |
AC_LANG_POP(C) |
431 |
AC_LANG_POP(C) |
431 |
AC_MSG_RESULT($have_abstract_sockets) |
432 |
AC_MSG_RESULT($have_abstract_sockets) |
432 |
|
433 |
|