Re: would like to break sys_select's dependency on sys_socket

2011-07-06 Thread Bruno Haible
Paul Eggert wrote: > > - The type fd_set and the FD_ZERO etc. macros are defined in . > > Before your patch they were included via #include which > > did > > #include ; now they are missing. > ... > Thanks for that analysis. Windows is not my strong suit, but does the > following littl

Re: would like to break sys_select's dependency on sys_socket

2011-07-06 Thread Paul Eggert
On 07/03/11 16:31, Bruno Haible wrote: > On native Windows, > - does not exist natively; gnulib provides it. > - The type fd_set and the FD_ZERO etc. macros are defined in . > Before your patch they were included via #include which did > #include ; now they are missing. > - The gnul

Re: would like to break sys_select's dependency on sys_socket

2011-07-03 Thread Bruno Haible
Hi Paul, > Here's what I just now pushed. It works for non-Windows... but has not been > tested > on native Windows. And it does not work on native Windows. Here's a build of ./gnulib-tool --create-testdir --dir=... --with-tests --single-configure sys_select on mingw: make[4]: Entering dire

Re: would like to break sys_select's dependency on sys_socket

2011-07-01 Thread Simon Josefsson
Paul Eggert writes: > On 06/30/11 04:45, Simon Josefsson wrote: >> Is it native Windows or MinGW? > > Sorry, I don't know Windows well enough to answer that question. > For Emacs, Windows support is done completely differently: > it doesn't use gnulib, and it is done by other people, and I > try

Re: would like to break sys_select's dependency on sys_socket

2011-06-30 Thread Paul Eggert
On 06/30/11 04:45, Simon Josefsson wrote: > Is it native Windows or MinGW? Sorry, I don't know Windows well enough to answer that question. For Emacs, Windows support is done completely differently: it doesn't use gnulib, and it is done by other people, and I try to avoid thinking about it as much

Re: would like to break sys_select's dependency on sys_socket

2011-06-30 Thread Eric Blake
On 06/30/2011 05:45 AM, Simon Josefsson wrote: > Paul Eggert writes: > >> I am planning to make some changes to GNU Emacs which the >> gnulib sys_select module would be helpful for. But sys_select >> depends on sys_socket, and that drags in some stuff >> like m4/sockpfaf.m4 and m4/sys_uio_h.m4 t

Re: would like to break sys_select's dependency on sys_socket

2011-06-30 Thread Simon Josefsson
Paul Eggert writes: > I am planning to make some changes to GNU Emacs which the > gnulib sys_select module would be helpful for. But sys_select > depends on sys_socket, and that drags in some stuff > like m4/sockpfaf.m4 and m4/sys_uio_h.m4 that I'd rather > avoid. Any objection if I remove this

Re: would like to break sys_select's dependency on sys_socket

2011-06-30 Thread Bastien ROUCARIES
On Thu, Jun 30, 2011 at 11:32 AM, Paul Eggert wrote: > I am planning to make some changes to GNU Emacs which the > gnulib sys_select module would be helpful for.  But sys_select > depends on sys_socket, and that drags in some stuff > like m4/sockpfaf.m4 and m4/sys_uio_h.m4 that I'd rather > avoid.

would like to break sys_select's dependency on sys_socket

2011-06-30 Thread Paul Eggert
I am planning to make some changes to GNU Emacs which the gnulib sys_select module would be helpful for. But sys_select depends on sys_socket, and that drags in some stuff like m4/sockpfaf.m4 and m4/sys_uio_h.m4 that I'd rather avoid. Any objection if I remove this dependency? It appears that it