[EMAIL PROTECTED] (Eric Blake) writes: > 2006-02-15 Eric Blake <[EMAIL PROTECTED]> > > * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using > winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes > 'present but cannot compile' warnings on cygwin. > * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't > use ws2tcpip.h if sys/socket.h works. > * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET. > (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
Looks good to me, I have installed it. I didn't test it for mingw32, but I'll do that eventually. Because the getaddrinfo module would now use sys_socket directly, I also installed the patch below. Thanks! Index: modules/getaddrinfo =================================================================== RCS file: /sources/gnulib/gnulib/modules/getaddrinfo,v retrieving revision 1.5 diff -u -p -r1.5 getaddrinfo --- modules/getaddrinfo 23 Sep 2005 15:48:18 -0000 1.5 +++ modules/getaddrinfo 16 Feb 2006 09:46:11 -0000 @@ -14,6 +14,7 @@ gettext-h socklen stdbool strdup +sys_socket configure.ac: gl_GETADDRINFO _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
