view modules/accept @ 40161:71ec1d2c1db9

gperf: Fix error when this module is required by some test module. * modules/gperf (Applicability): Set to 'all'.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 23:57:16 +0100
parents 949bded754e0
children
line wrap: on
line source

Description:
accept() function: accept a connection to a server socket.

Files:
lib/accept.c
lib/w32sock.h

Depends-on:
extensions
sys_socket
socketlib
errno           [test "$ac_cv_header_winsock2_h" = yes]
msvc-nothrow    [test "$ac_cv_header_winsock2_h" = yes]

configure.ac:
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
if test "$ac_cv_header_winsock2_h" = yes; then
  AC_LIBOBJ([accept])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([accept])

Makefile.am:

Include:
<sys/socket.h>

Link:
$(LIBSOCKET)

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson