New module 'poll-h'.
[gnulib.git] / modules / poll-h
1 Description:
2 A POSIX-like <poll.h>.
3
4 Files:
5 lib/poll.in.h
6 m4/poll_h.m4
7
8 Depends-on:
9 c++defs
10 warn-on-use
11
12 configure.ac:
13 gl_POLL_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(POLL_H)
17
18 # We need the following in order to create <poll.h> when the system
19 # doesn't have one.
20 poll.h: poll.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's|@''GNULIB_POLL''@|$(GNULIB_POLL)|g' \
24               -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \
25               -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \
26               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
27               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
28               < $(srcdir)/poll.in.h; \
29         } > $@-t && \
30         mv -f $@-t $@
31 MOSTLYCLEANFILES += poll.h poll.h-t
32
33 Include:
34 <poll.h>
35
36 License:
37 LGPLv2+
38
39 Maintainer:
40 Paolo Bonzini, Bruno Haible