view modules/shutdown @ 15043:0527dd6759fc

memset: Move AC_LIBOBJ invocations to module description. * m4/memset.m4 (gl_FUNC_MEMSET): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMSET invocations from here... * modules/memset (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:28:17 +0200
parents efab6978105e
children f60ae63f5f6c
line wrap: on
line source

Description:
shutdown() function: initiate a graceful shutdown of a socket.

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

Depends-on:
sys_socket
errno           [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([shutdown])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])

Makefile.am:

Include:
<sys/socket.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson, Bruno Haible