2006-06-19 Yoann Vandoorselaere <yoann.v@prelude-ids.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
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
25 mostlyclean-local:
26         -rmdir sys 2>/dev/null
27
28 Include:
29 #include <sys/types.h>
30 #include <sys/socket.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 Simon Josefsson