Move to relocatable-prog.
[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 AC_PROG_MKDIR_P
13
14 Makefile.am:
15 BUILT_SOURCES += $(NETINET_IN_H)
16
17 # We need the following in order to create <netinet/in.h> when the system
18 # doesn't have one.
19 netinet/in.h:
20         @MKDIR_P@ netinet
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           echo '#include <sys/socket.h>'; \
24         } > $@-t
25         mv $@-t $@
26 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
27 MOSTLYCLEANDIRS += netinet
28
29 Include:
30 #include <netinet/in.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 Simon Josefsson