Commit Graph

4 Commits

Author SHA1 Message Date
Eric J. Korpela ff9e4b5ea4 Added autoconf macro AX_WINSOCK for identifying winsock libs and headers for
support of command line compiles.  Adds new configure command line option
--with-winsock to enable winsock if necessary where alternative socket libraries
exist.

Modified BOINC_CHECK_CYGWIN to call AX_WINSOCK.

Modified boinc_getsockopt.m4 to get correct type when winsock is used.

Modified AX_CHECK_GLUT to find correct libraries when compiling under
windows from command line.

svn path=/trunk/boinc/; revision=9072
2005-12-16 03:20:01 +00:00
Reinhard Prix a4075a2517 make getsockopt-len check insensitive to user's CPPFLAG-settings,
in order to avoid this test failing because of higher warning-levels set in
CPPFLAGS (as the test is using -Werror)

svn path=/trunk/boinc/; revision=8315
2005-09-29 14:37:45 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
Eric J. Korpela 31b4aa1ffb New autoconf macro:
BOINC_GETSOCKOPT_TYPE:  Determines the type of parameter 4 of getsockopt().

svn path=/trunk/boinc/; revision=5958
2005-04-28 21:45:21 +00:00