From: Zoran V. <vas...@us...> - 2006-01-04 14:08:23
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15762 Modified Files: configure.in Log Message: * configure.in: added test for inet_ntop. * nsthread/reentrant.c: use inet_ntop when available which fixes a bug on 64 bit ppc, at least under linux. * nsd/conn.c: added option to [ns_conn] to set/query contentsentlength for getting the correct length into the logfile, when files are delivered via event driven I/O. Thanks to Gustaf Neumann for providing above fixes. Index: configure.in =================================================================== RCS file: /cvsroot/naviserver/naviserver/configure.in,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** configure.in 2 Nov 2005 23:07:15 -0000 1.18 --- configure.in 4 Jan 2006 14:08:02 -0000 1.19 *************** *** 253,256 **** --- 253,267 ---- AC_HAVE_CMMSG + dnl ** Check for inet_ntop + AC_MSG_CHECKING(for inet_ntop) + AC_TRY_COMPILE([#include <sys/socket.h> + #include <arpa/inet.h>], [inet_ntop(0, (char *)0, (char *)0, 0);], has_inet_ntop=yes, has_inet_ntop=no) + if test "$has_inet_ntop" = yes; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_INET_NTOP,,[we can use inet_ntop()]) + else + AC_MSG_RESULT(no) + fi + # # Create Makefiles. |