X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=dba13379c23d1101efecda4bacf167a2a9b982b0;hb=ce8675631414567e50a77fdd43196f5882172ca7;hp=87454c5c66e918f27df7982df3e7f930b09a9e4c;hpb=f110f8c4810ee8acf04df527cba30413f709648f;p=gnulib.git diff --git a/modules/poll b/modules/poll index 87454c5c6..dba13379c 100644 --- a/modules/poll +++ b/modules/poll @@ -3,32 +3,33 @@ 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 - rm -f $@-t $@ - cp $(srcdir)/poll_.h $@-t - chmod a-w $@-t - mv $@-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 Include: #include License: -LGPL +LGPLv2+ Maintainer: Paolo Bonzini