X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=8fa88fd4d1248e9ceacaf20e3b7cd4ee5d4103ef;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=64c1de5c54c3e52bc2dbf049f3e761619190cf46;hpb=6a9b156fdf9c71c0bbc8bb0b3aa0262df5674dda;p=gnulib.git diff --git a/modules/poll b/modules/poll index 64c1de5c5..8fa88fd4d 100644 --- a/modules/poll +++ b/modules/poll @@ -3,35 +3,34 @@ 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: -alloca -select -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] +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) - -# We need the following in order to create when the system -# doesn't have one. -poll.h: poll.in.h - $(AM_V_GEN)rm -f $@-t $@ && \ - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - cat $(srcdir)/poll.in.h; \ - } > $@-t && \ - mv -f $@-t $@ -MOSTLYCLEANFILES += poll.h poll.h-t Include: +Link: +$(LIB_POLL) + License: LGPLv2+