[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: socketlib missing dep on sys_socket
From: |
Bruno Haible |
Subject: |
Re: socketlib missing dep on sys_socket |
Date: |
Fri, 15 Oct 2010 00:43:51 +0200 |
User-agent: |
KMail/1.9.9 |
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 <address@hidden>
socketlib: Fix.
* modules/socketlib (Files): Add m4/sys_socket_h.m4. Needed for
gl_PREREQ_SYS_H_WINSOCK2.
Reported by Ian Beckwith <address@hidden>.
--- 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: