X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=03304154a4ebd8dddc8e61bc2f69bd6c72f10851;hb=8bdaab3451f058a3b293aa26af8daab9fdee3368;hp=87454c5c66e918f27df7982df3e7f930b09a9e4c;hpb=f110f8c4810ee8acf04df527cba30413f709648f;p=gnulib.git diff --git a/modules/poll b/modules/poll index 87454c5c6..03304154a 100644 --- a/modules/poll +++ b/modules/poll @@ -7,21 +7,22 @@ lib/poll_.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 $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/poll_.h; \ + } > $@-t + mv -f $@-t $@ MOSTLYCLEANFILES += poll.h poll.h-t Include: