pty: Activate the signature wrapper of forkpty.
[gnulib.git] / modules / net_if
1 Description:
2 A <net/if.h> for systems lacking it.
3
4 Files:
5 lib/net_if.in.h
6 m4/net_if_h.m4
7
8 Depends-on:
9 include_next
10 sys_socket
11
12 configure.ac:
13 gl_HEADER_NET_IF
14 AC_PROG_MKDIR_P
15
16 Makefile.am:
17 BUILT_SOURCES += $(NET_IF_H)
18
19 # We need the following in order to create <net/if.h> when the system
20 # doesn't have one.
21 if GL_GENERATE_NET_IF_H
22 net/if.h: net_if.in.h $(top_builddir)/config.status
23         $(AM_V_at)$(MKDIR_P) net
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_NET_IF_H''@|$(NEXT_NET_IF_H)|g' \
31               -e 's|@''HAVE_NET_IF_H''@|$(HAVE_NET_IF_H)|g' \
32               < $(srcdir)/net_if.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 else
36 net/if.h: $(top_builddir)/config.status
37         rm -f $@
38 endif
39 MOSTLYCLEANFILES += net/if.h net/if.h-t
40 MOSTLYCLEANDIRS += net
41
42 Include:
43 <net/if.h>
44
45 License:
46 LGPLv2+
47
48 Maintainer:
49 Eric Blake