bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: canon-host problems in cygwin


From: Simon Josefsson
Subject: Re: canon-host problems in cygwin
Date: Thu, 16 Feb 2006 10:48:21 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

address@hidden (Eric Blake) writes:

> 2006-02-15  Eric Blake  <address@hidden>
>
>       * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]