warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / shutdown
blob64f3dc397bade187107d5597c8d5e7581ad53391
1 Description:
2 shutdown() function: initiate a graceful shutdown of a socket.
4 Files:
5 lib/shutdown.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_HEADER_SYS_SOCKET])
16 if test "$ac_cv_header_winsock2_h" = yes; then
17   AC_LIBOBJ([shutdown])
19 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
21 Makefile.am:
23 Include:
24 <sys/socket.h>
26 Link:
27 $(LIBSOCKET)
29 License:
30 LGPLv2+
32 Maintainer:
33 Paolo Bonzini, Simon Josefsson