Fix global typo in last change: use chmod u-w, not chmod u-x.
[gnulib.git] / modules / netinet_in
1 Description:
2 A <netinet/in.h> for systems lacking it (e.g., Mingw).
3
4 Files:
5 m4/netinet_in_h.m4
6
7 Depends-on:
8 sys_socket
9
10 configure.ac:
11 gl_HEADER_NETINET_IN
12
13 Makefile.am:
14 BUILT_SOURCES += $(NETINET_IN_H)
15
16 # We need the following in order to create <netinet/in.h> when the system
17 # doesn't have one.
18 netinet/in.h:
19         test -d netinet || mkdir netinet
20         rm -f $@-t $@
21         echo '#include <sys/socket.h>' >$@-t
22         chmod a-w $@-t
23         mv $@-t $@
24 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
25 MOSTLYCLEANDIRS += netinet
26
27 Include:
28 #include <netinet/in.h>
29
30 License:
31 LGPL
32
33 Maintainer:
34 Simon Josefsson