X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=1d1c0fff987c109fe9c280646cb64ecb1d1c20b1;hb=2cf6b078ffb5955943be20eec0a1d6742b118c5e;hp=4695af26826c17725fa6d04f8abb9a37e7cd286c;hpb=5143f4e91f44130093914be7cf05873c7d8a4369;p=gnulib.git diff --git a/modules/poll b/modules/poll index 4695af268..1d1c0fff9 100644 --- a/modules/poll +++ b/modules/poll @@ -3,31 +3,35 @@ 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: +alloca +sys_select +sys_time +errno configure.ac: gl_FUNC_POLL Makefile.am: BUILT_SOURCES += $(POLL_H) -EXTRA_DIST += poll_.h -# We need the following in order to create an when the system +# We need the following in order to create when the system # doesn't have one. -all-local $(lib_OBJECTS): $(POLL_H) -poll.h: poll_.h - cp $(srcdir)/poll_.h $@-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: -GPL +LGPLv2+ Maintainer: Paolo Bonzini