Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / netinet_in
blob7d09a3761bc0c6282ed9fc3727e1ac00b466f31f
1 Description:
2 A <netinet/in.h> for systems lacking it.
4 Files:
5 lib/netinet_in.in.h
6 m4/netinet_in_h.m4
8 Depends-on:
9 include_next
10 sys_socket
12 configure.ac:
13 gl_HEADER_NETINET_IN
14 AC_PROG_MKDIR_P
16 Makefile.am:
17 BUILT_SOURCES += $(NETINET_IN_H)
19 # We need the following in order to create <netinet/in.h> when the system
20 # doesn't have one.
21 if GL_GENERATE_NETINET_IN_H
22 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
23         $(AM_V_at)$(MKDIR_P) netinet
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
31               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
32               < $(srcdir)/netinet_in.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 else
36 netinet/in.h: $(top_builddir)/config.status
37         rm -f $@
38 endif
39 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
40 MOSTLYCLEANDIRS += netinet
42 Include:
43 <netinet/in.h>
45 License:
46 LGPLv2+
48 Maintainer:
49 Simon Josefsson