changeset 8737:108beb26d1bb

Rename lib/socket_.h to lib/sys_socket_.h.
author Bruno Haible <bruno@clisp.org>
date Fri, 27 Apr 2007 18:20:56 +0000
parents 945f65bb5a52
children 9c6768616044
files ChangeLog modules/sys_socket
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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/modules/sys_socket
+++ b/modules/sys_socket
@@ -2,7 +2,7 @@
 A <sys/socket.h> for systems lacking it.
 
 Files:
-lib/socket_.h
+lib/sys_socket_.h
 m4/sys_socket_h.m4
 m4/sockpfaf.m4
 
@@ -18,14 +18,14 @@
 
 # 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