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