striconveh: Simplify last commit.
[gnulib.git] / modules / poll
index 3ac7c8c..64c1de5 100644 (file)
@@ -7,9 +7,11 @@ lib/poll.in.h
 m4/poll.m4
 
 Depends-on:
+alloca
+select
 sys_select
 sys_time
-EOVERFLOW
+errno
 
 configure.ac:
 gl_FUNC_POLL
@@ -20,14 +22,15 @@ BUILT_SOURCES += $(POLL_H)
 # We need the following in order to create <poll.h> 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
+       } > $@-t && \
        mv -f $@-t $@
 MOSTLYCLEANFILES += poll.h poll.h-t
 
 Include:
-#include <poll.h>
+<poll.h>
 
 License:
 LGPLv2+