X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpoll;h=a03affbbc44d983296a5e17c6ed36455b9861b8d;hb=51c80946eb154a8c35fc64942831490d305a570b;hp=1d796adc24efa0ed01f14c7aaac146830ea493a8;hpb=8577bd357660986eaceacf6f8b0fd6870d2098b7;p=gnulib.git diff --git a/modules/poll b/modules/poll index 1d796adc2..a03affbbc 100644 --- a/modules/poll +++ b/modules/poll @@ -12,8 +12,15 @@ configure.ac: gl_FUNC_POLL Makefile.am: -noinst_HEADERS += poll_.h -DISTCLEANFILES += poll.h +EXTRA_DIST += poll_.h + +# We need the following in order to create an 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