gnulib-tool.py: Make --megatest behaviour more similar to shell impl.
[gnulib.git] / modules / getsockname
blob8a44ebaebdf272364af37ffbb3e17a075098ae60
1 Description:
2 getsockname() function: return information about the local end of a connected
3 socket.
5 Files:
6 lib/getsockname.c
7 lib/w32sock.h
9 Depends-on:
10 extensions
11 sys_socket
12 socketlib
13 errno           [test "$ac_cv_header_winsock2_h" = yes]
14 msvc-nothrow    [test "$ac_cv_header_winsock2_h" = yes]
16 configure.ac:
17 AC_REQUIRE([gl_SYS_SOCKET_H])
18 gl_CONDITIONAL([GL_COND_OBJ_GETSOCKNAME],
19                [test "$ac_cv_header_winsock2_h" = yes])
20 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
22 Makefile.am:
23 if GL_COND_OBJ_GETSOCKNAME
24 lib_SOURCES += getsockname.c
25 endif
27 Include:
28 <sys/socket.h>
30 Link:
31 $(LIBSOCKET)
33 License:
34 LGPLv2+
36 Maintainer:
37 Paolo Bonzini, Simon Josefsson