X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=478e99ba74b9b5618616bde4040135ba54a4db92;hb=56d7f11cc3831bcff4f918ef095c00e1fb4e224f;hp=35f3fc6f43b57fc6b698756f34e3b6f80bc897dd;hpb=b5ae144098a1d1d58447fbec55af8b76631df549;p=gnulib.git diff --git a/modules/poll b/modules/poll index 35f3fc6f4..478e99ba7 100644 --- a/modules/poll +++ b/modules/poll @@ -3,31 +3,24 @@ poll() function: wait for some event on a set of file descriptors. Files: lib/poll.c -lib/poll.in.h m4/poll.m4 Depends-on: -sys_select -sys_time -errno +poll-h +alloca [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +select [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] configure.ac: gl_FUNC_POLL +gl_POLL_MODULE_INDICATOR([poll]) Makefile.am: -BUILT_SOURCES += $(POLL_H) - -# We need the following in order to create when the system -# doesn't have one. -poll.h: poll.in.h - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - cat $(srcdir)/poll.in.h; \ - } > $@-t - mv -f $@-t $@ -MOSTLYCLEANFILES += poll.h poll.h-t Include: -#include + License: LGPLv2+