Remove SOCKADDR_IN_HAS_LEN check, libratbox does it for us.

This commit is contained in:
Jilles Tjoelker 2008-04-11 17:47:30 +02:00
parent 3691f6ed2e
commit 35b7f9ab05
1 changed files with 0 additions and 5 deletions

View File

@ -303,11 +303,6 @@ if test x"$SUN" = xyes; then
AC_SEARCH_LIBS(inet_ntoa, nsl,, [AC_MSG_ERROR([libnsl not found! Aborting.])]) AC_SEARCH_LIBS(inet_ntoa, nsl,, [AC_MSG_ERROR([libnsl not found! Aborting.])])
fi fi
AC_CHECK_MEMBER([struct sockaddr.sa_len], [AC_DEFINE(SOCKADDR_IN_HAS_LEN, 1, [Define to 1 if sockaddr has a 'sa_len'
member.])],,[[#include <sys/types.h>
#include <sys/socket.h>
]])
AC_CHECK_TYPE(socklen_t, , AC_CHECK_TYPE(socklen_t, ,
[AC_DEFINE([socklen_t], [unsigned int], [AC_DEFINE([socklen_t], [unsigned int],
[If we don't have a real socklen_t, unsigned int is good enough.])], [If we don't have a real socklen_t, unsigned int is good enough.])],