Rename lib/socket_.h to lib/sys_socket_.h.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Apr 2007 18:20:56 +0000 (18:20 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Apr 2007 18:20:56 +0000 (18:20 +0000)
ChangeLog
modules/sys_socket

index 2e76d2f..b53877e 100644 (file)
--- 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.
 
index 9e0c6b5..5b36b0c 100644 (file)
@@ -2,7 +2,7 @@ Description:
 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 @@ BUILT_SOURCES += $(SYS_SOCKET_H)
 
 # 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