Hi Ian, > gnulib-tool --test socketlib fails with: > > > configure:3552: error: possibly undefined macro: gl_PREREQ_SYS_H_WINSOCK2 > > Adding a dependency on sys_socket fixes it. Trivial patch attached.
The 'socketlib' module needs just the gl_PREREQ_SYS_H_WINSOCK2, not the <sys/socket.h> header. Therefore it is cheaper (in terms of dependencies) to just add the .m4 file. I'm applying this: 2010-10-14 Bruno Haible <br...@clisp.org> socketlib: Fix. * modules/socketlib (Files): Add m4/sys_socket_h.m4. Needed for gl_PREREQ_SYS_H_WINSOCK2. Reported by Ian Beckwith <i...@erislabs.net>. --- modules/socketlib.orig Fri Oct 15 00:40:08 2010 +++ modules/socketlib Fri Oct 15 00:38:43 2010 @@ -3,6 +3,7 @@ Files: m4/socketlib.m4 +m4/sys_socket_h.m4 Depends-on: