[Plib-cvs] plib/examples configure.in,1.22,1.23
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-07-01 01:14:38
|
Update of /cvsroot/plib/plib/examples In directory usw-pr-cvs1:/tmp/cvs-serv19113/examples Modified Files: configure.in Log Message: Don't need the check for socklen_t here Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/examples/configure.in,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- configure.in 1 Jul 2002 01:05:27 -0000 1.22 +++ configure.in 1 Jul 2002 01:14:35 -0000 1.23 @@ -138,26 +138,6 @@ LIBS="$LIBS -laudio" fi -dnl Checks for typedefs, structures, and compiler characteristics. - -dnl check for socklen_t (in Unix98) -AC_MSG_CHECKING(for socklen_t) -AC_TRY_COMPILE([ -#include <sys/types.h> -#include <sys/socket.h> -socklen_t x; -],[],[ -AC_MSG_RESULT(yes)],[ -AC_TRY_COMPILE([ -#include <sys/types.h> -#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)])]) - AC_OUTPUT( \ Makefile \ src/Makefile \ |