X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=8fa88fd4d1248e9ceacaf20e3b7cd4ee5d4103ef;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=87454c5c66e918f27df7982df3e7f930b09a9e4c;hpb=f110f8c4810ee8acf04df527cba30413f709648f;p=gnulib.git diff --git a/modules/poll b/modules/poll index 87454c5c6..8fa88fd4d 100644 --- a/modules/poll +++ b/modules/poll @@ -3,32 +3,36 @@ poll() function: wait for some event on a set of file descriptors. Files: lib/poll.c -lib/poll_.h m4/poll.m4 Depends-on: +poll-h +alloca [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sockets [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sys_select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sys_time [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +errno [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +msvc-nothrow [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] configure.ac: gl_FUNC_POLL +if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then + AC_LIBOBJ([poll]) + gl_PREREQ_POLL +fi +gl_POLL_MODULE_INDICATOR([poll]) Makefile.am: -BUILT_SOURCES += $(POLL_H) -EXTRA_DIST += poll_.h - -# We need the following in order to create when the system -# doesn't have one. -poll.h: poll_.h - rm -f $@-t $@ - cp $(srcdir)/poll_.h $@-t - chmod a-w $@-t - mv $@-t $@ -MOSTLYCLEANFILES += poll.h poll.h-t Include: -#include + + +Link: +$(LIB_POLL) License: -LGPL +LGPLv2+ Maintainer: Paolo Bonzini