Use the synonymous term "LGPLv2+".
[gnulib.git] / modules / poll
index 1d796ad..dc2087f 100644 (file)
@@ -7,17 +7,29 @@ lib/poll_.h
 m4/poll.m4
 
 Depends-on:
+sys_select
+sys_time
 
 configure.ac:
 gl_FUNC_POLL
 
 Makefile.am:
-noinst_HEADERS += poll_.h
-DISTCLEANFILES += poll.h
+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>
 
+License:
+LGPLv2+
+
 Maintainer:
 Paolo Bonzini  <bonzini@gnu.org>
-