X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=dba13379c23d1101efecda4bacf167a2a9b982b0;hb=a073116c07b0d3680285ce90fccfd85f8a2d35e5;hp=9784c43414fa89a2443b3d1e5d6bd3af0d56845b;hpb=0f55f1467a309da866fb443de970845827853569;p=gnulib.git diff --git a/modules/poll b/modules/poll index 9784c4341..dba13379c 100644 --- a/modules/poll +++ b/modules/poll @@ -3,22 +3,25 @@ poll() function: wait for some event on a set of file descriptors. Files: lib/poll.c -lib/poll_.h +lib/poll.in.h m4/poll.m4 Depends-on: +sys_select +sys_time configure.ac: gl_FUNC_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 - cp -f $(srcdir)/poll_.h $@-t +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 @@ -26,7 +29,7 @@ Include: #include License: -LGPL +LGPLv2+ Maintainer: Paolo Bonzini