iswblank: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / poll
index ef2c8d913080b723760da08f14a5a309c8f5dd8e..478e99ba74b9b5618616bde4040135ba54a4db92 100644 (file)
@@ -3,27 +3,27 @@ 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          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+select          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+sys_select      [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+sys_time        [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+errno           [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
 
 configure.ac:
 gl_FUNC_POLL
+gl_POLL_MODULE_INDICATOR([poll])
 
 Makefile.am:
-EXTRA_DIST += poll_.h
-
-# We need the following in order to create an <poll.h> when the system
-# doesn't have one.
-all-local $(lib_OBJECTS): $(POLL_H)
-poll.h: poll_.h
-       cp $(srcdir)/poll_.h poll.h-t
-       mv poll.h-t poll.h
-MOSTLYCLEANFILES += poll.h poll.h-t
 
 Include:
-#include <poll.h>
+<poll.h>
+
+License:
+LGPLv2+
 
 Maintainer:
 Paolo Bonzini  <bonzini@gnu.org>