2006-07-06 Simon Josefsson <jas@extundo.com>
[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 EXTRA_DIST += socket_.h
17
18 # We need the following in order to create <sys/socket.h> when the system
19 # doesn't have one that works with the given compiler.
20 sys/socket.h: socket_.h
21         test -d sys || mkdir sys
22         cp $(srcdir)/socket_.h $@-t
23         mv $@-t $@
24 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
25 MOSTLYCLEANDIRS += sys
26
27 Include:
28 #include <sys/types.h>
29 #include <sys/socket.h>
30
31 License:
32 LGPL
33
34 Maintainer:
35 Simon Josefsson