strtod: Remove check for strtod, unless supporting old platforms.
[pspp] / modules / poll
index dc2087f166bb18e251b85ec16a56d95d225a094c..8690271e0dd47ea6b3d5761c1b459f5940021b87 100644 (file)
@@ -3,30 +3,24 @@ poll() function: wait for some event on a set of file descriptors.
 
 Files:
 lib/poll.c
-lib/poll_.h
 m4/poll.m4
 
 Depends-on:
+poll-h
+alloca
+select
 sys_select
 sys_time
+errno
 
 configure.ac:
 gl_FUNC_POLL
+gl_POLL_MODULE_INDICATOR([poll])
 
 Makefile.am:
-BUILT_SOURCES += $(POLL_H)
-
-# We need the following in order to create <poll.h> when the system
-# doesn't have one.
-poll.h: poll_.h
-       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         cat $(srcdir)/poll_.h; \
-       } > $@-t
-       mv -f $@-t $@
-MOSTLYCLEANFILES += poll.h poll.h-t
 
 Include:
-#include <poll.h>
+<poll.h>
 
 License:
 LGPLv2+