1
dnl @synopsis AC_PROTOTYPE_ACCEPT
3
dnl Requires the AC_PROTOTYPE macro.
5
dnl Find the type of argument two and three of accept. User
6
dnl must include the following in acconfig.h:
8
dnl /* Type of second argument of accept */
11
dnl /* Type of third argument of accept */
12
dnl #undef ACCEPT_ARG3
14
dnl @version $Id: ac_prototype_accept.m4,v 1.1.1.1 2001/07/26 00:46:29 guidod Exp $
15
dnl @author Loic Dachary <loic@senga.org>
17
AC_DEFUN([AC_PROTOTYPE_ACCEPT],[
20
#include <sys/types.h>
21
#include <sys/socket.h>
29
ARG2, [struct sockaddr, void],
30
ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])