gnulib-tool now synthesizes the EXTRA_DIST line.
[gnulib.git] / modules / sys_socket
1 Description:
2 A <sys/socket.h> for systems lacking it.
3
4 Files:
5 lib/socket_.h
6 m4/sys_socket_h.m4
7 m4/sockpfaf.m4
8
9 Depends-on:
10
11 configure.ac:
12 gl_HEADER_SYS_SOCKET
13
14 Makefile.am:
15 BUILT_SOURCES += $(SYS_SOCKET_H)
16
17 # We need the following in order to create <sys/socket.h> when the system
18 # doesn't have one that works with the given compiler.
19 sys/socket.h: socket_.h
20         test -d sys || mkdir sys
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           cat $(srcdir)/socket_.h; \
23         } > $@-t
24         mv -f $@-t $@
25 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
26 MOSTLYCLEANDIRS += sys
27
28 Include:
29 #include <sys/types.h>
30 #include <sys/socket.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 Simon Josefsson