fts: tweak inode comparison function
[pspp] / modules / sys_socket
1 Description:
2 A POSIX-like <sys/socket.h>.
3
4 Files:
5 lib/sys_socket.in.h
6 lib/winsock.c
7 m4/sys_socket_h.m4
8 m4/sockpfaf.m4
9
10 Depends-on:
11 include_next
12
13 configure.ac:
14 gl_HEADER_SYS_SOCKET
15 AC_PROG_MKDIR_P
16
17 Makefile.am:
18 BUILT_SOURCES += $(SYS_SOCKET_H)
19
20 # We need the following in order to create <sys/socket.h> when the system
21 # doesn't have one that works with the given compiler.
22 sys/socket.h: sys_socket.in.h
23         @MKDIR_P@ sys
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
28               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
29               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
30               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
31               < $(srcdir)/sys_socket.in.h; \
32         } > $@-t
33         mv -f $@-t $@
34 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
35 MOSTLYCLEANDIRS += sys
36
37 Include:
38 #include <sys/socket.h>
39
40 License:
41 LGPLv2+
42
43 Maintainer:
44 Simon Josefsson