Btw, here's the result of the "documentation":
dnl check for Unix98 socklen_t
AC_MSG_CHECKING(for socklen_t)
AC_TRY_COMPILE([#include <sys/socket.h>
socklen_t x;
],[],[AC_MSG_RESULT(yes)],[
AC_TRY_COMPILE([#include <sys/socket.h>
int accept (int, struct sockaddr *, size_t *);
],[],[
AC_MSG_RESULT(size_t)
AC_DEFINE(socklen_t,size_t)], [
AC_MSG_RESULT(int)
AC_DEFINE(socklen_t,int)])])
isn't that nice? Before the "documentation", you could just use
int accept(int, struct sockaddr *, int *);
and it would work. EVERYWHERE. No autoconf crap required.
So don't talk to me about documentation. It's pure and unadulterated crap.
Linus