2007-04-27 Bruno Haible <bruno@clisp.org>
+ * lib/sys_socket_.h: Renamed from lib/socket_.h.
+ * modules/sys_socket (Makefile.am): Update.
+
* lib/sys_stat_.h: Renamed from lib/stat_.h.
* modules/sys_stat (Makefile.am): Update.
A <sys/socket.h> for systems lacking it.
Files:
-lib/socket_.h
+lib/sys_socket_.h
m4/sys_socket_h.m4
m4/sockpfaf.m4
# We need the following in order to create <sys/socket.h> when the system
# doesn't have one that works with the given compiler.
-sys/socket.h: socket_.h
+sys/socket.h: sys_socket_.h
@MKDIR_P@ sys
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''ABSOLUTE_SYS_SOCKET_H''@|$(ABSOLUTE_SYS_SOCKET_H)|g' \
-e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
-e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
-e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
- < $(srcdir)/socket_.h; \
+ < $(srcdir)/sys_socket_.h; \
} > $@-t
mv -f $@-t $@
MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t