view modules/recvfrom @ 15836:46afe93343fd

modf: Use a .m4 file. * m4/modf.m4: New file. * modules/modf (Files): Add it. (configure.ac): Just invoke gl_FUNC_MODF.
author Bruno Haible <bruno@clisp.org>
date Thu, 06 Oct 2011 01:21:12 +0200
parents b86e9061a6d0
children
line wrap: on
line source

Description:
recvfrom() function: receive (read) data from a potentially unconnected socket.

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

Depends-on:
sys_socket
socketlib
errno           [test "$ac_cv_header_winsock2_h" = yes]
getpeername     [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([recvfrom])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])

Makefile.am:

Include:
<sys/socket.h>

Link:
$(LIBSOCKET)

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson