>> 2) The test in configure about functionality of the timeouts is broken. >> The test program does not compile under Solaris, because it needs >> "-lsocket". > > Can you provide a patch for that?
How about: *** configure.in.orig Thu Mar 17 17:00:36 2005 --- configure.in Thu Mar 17 21:28:29 2005 *************** *** 56,63 **** dnl check for flock function. AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK,1,[Have flock()])) ! AC_DEFUN(JK_CHECK_SETSOCKOPT, [ AC_MSG_CHECKING(whether to use $1 with setsockopt()) AC_TRY_RUN([ #include <sys/types.h> #include <sys/socket.h> --- 56,65 ---- dnl check for flock function. AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK,1,[Have flock()])) ! AC_DEFUN([JK_CHECK_SETSOCKOPT], [ AC_MSG_CHECKING(whether to use $1 with setsockopt()) + saved_LIBS="$LIBS" + LIBS="$saved_LIBS -lsocket" AC_TRY_RUN([ #include <sys/types.h> #include <sys/socket.h> *************** *** 88,93 **** --- 90,96 ---- , [ AC_MSG_RESULT([yes]) AC_DEFINE(USE_$1, 1, [Define to use $1 with setsockopt()]) ] , [ AC_MSG_RESULT([no]) ] ) + LIBS="$saved_LIBS" ])dnl dnl check for SO_RCVTIMEO and SO_SNDTIMEO Since it's only changed line and three added I did not use local CVS to make diff -u and I hope this context diff suffices. That way the test runs smoothly, of course with the same negative but clean result: configure:19433: checking whether to use SO_RCVTIMEO with setsockopt() configure:19480: gcc -specs=/usr/local/apautobuild/specs -o conftest -O2 conftest.c -lsocket >&5 configure:19483: $? = 0 configure:19485: ./conftest configure:19488: $? = 1 configure: program exited with status 1 Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]