9c4959da0701d662905c6c0c62d413c509bf2bde
[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
8 Depends-on:
9
10 configure.ac:
11 gl_HEADER_SYS_SOCKET
12
13 Makefile.am:
14 BUILT_SOURCES += $(SYS_SOCKET_H)
15 EXTRA_DIST += 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         cp $(srcdir)/socket_.h $@-t
22         mv $@-t $@
23 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
24 MOSTLYCLEANDIRS += sys
25
26 Include:
27 #include <sys/types.h>
28 #include <sys/socket.h>
29
30 License:
31 LGPL
32
33 Maintainer:
34 Simon Josefsson