stdbit: don’t assume -DHAVE_CONFIG_H
[gnulib.git] / modules / listen
blob877bc14bdcb82213205c2d85b7d390372c8e0e4a
1 Description:
2 listen() function: make a server socket ready for accepting connections.
4 Files:
5 lib/listen.c
6 lib/w32sock.h
8 Depends-on:
9 sys_socket
10 socketlib
11 errno           [test "$ac_cv_header_winsock2_h" = yes]
12 msvc-nothrow    [test "$ac_cv_header_winsock2_h" = yes]
14 configure.ac:
15 AC_REQUIRE([gl_SYS_SOCKET_H])
16 gl_CONDITIONAL([GL_COND_OBJ_LISTEN], [test "$ac_cv_header_winsock2_h" = yes])
17 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
19 Makefile.am:
20 if GL_COND_OBJ_LISTEN
21 lib_SOURCES += listen.c
22 endif
24 Include:
25 <sys/socket.h>
27 Link:
28 $(LIBSOCKET)
30 License:
31 LGPLv2+
33 Maintainer:
34 Paolo Bonzini, Simon Josefsson