Use the synonymous term "LGPLv2+".
[gnulib.git] / modules / poll
index 87454c5..dc2087f 100644 (file)
@@ -7,28 +7,29 @@ lib/poll_.h
 m4/poll.m4
 
 Depends-on:
+sys_select
+sys_time
 
 configure.ac:
 gl_FUNC_POLL
 
 Makefile.am:
 BUILT_SOURCES += $(POLL_H)
-EXTRA_DIST += poll_.h
 
 # We need the following in order to create <poll.h> when the system
 # doesn't have one.
 poll.h: poll_.h
-       rm -f $@-t $@
-       cp $(srcdir)/poll_.h $@-t
-       chmod a-w $@-t
-       mv $@-t $@
+       { 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:
-LGPL
+LGPLv2+
 
 Maintainer:
 Paolo Bonzini  <bonzini@gnu.org>