1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00
Files
gnulib/modules/poll-h
Bruno Haible e4d8bbdec2 poll-h: Ensure POLL{RD,WR}{NORM,BAND} are defined on glibc platforms.
* modules/poll-h (Depends-on): Add 'extensions'.
2010-09-29 01:18:16 +02:00

42 lines
859 B
Plaintext

Description:
A POSIX-like <poll.h>.
Files:
lib/poll.in.h
m4/poll_h.m4
Depends-on:
c++defs
extensions
warn-on-use
configure.ac:
gl_POLL_H
Makefile.am:
BUILT_SOURCES += $(POLL_H)
# We need the following in order to create <poll.h> when the system
# doesn't have one.
poll.h: poll.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GNULIB_POLL''@|$(GNULIB_POLL)|g' \
-e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \
-e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
< $(srcdir)/poll.in.h; \
} > $@-t && \
mv -f $@-t $@
MOSTLYCLEANFILES += poll.h poll.h-t
Include:
<poll.h>
License:
LGPLv2+
Maintainer:
Paolo Bonzini, Bruno Haible