* modules/alloca-opt (Makefile.am): Remove explicit dependency on
[gnulib.git] / modules / poll
index 1d796ad..eaa2893 100644 (file)
@@ -12,12 +12,21 @@ configure.ac:
 gl_FUNC_POLL
 
 Makefile.am:
-noinst_HEADERS += poll_.h
-DISTCLEANFILES += poll.h
+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
+       cp $(srcdir)/poll_.h $@-t
+       mv $@-t $@
+MOSTLYCLEANFILES += poll.h poll.h-t
 
 Include:
 #include <poll.h>
 
+License:
+GPL
+
 Maintainer:
 Paolo Bonzini  <bonzini@gnu.org>
-