--- EV/Makefile.PL 2007/12/22 05:47:52 1.29 +++ EV/Makefile.PL 2008/10/02 12:27:56 1.35 @@ -68,6 +68,21 @@ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** +Another useful bit of functionality is the Linux eventfd, which is useful +for faster signal handling (don't care) and intra-thread communications +(mostly useful for embedding). Kernel support for this will be probed at +runtime, but your libc must contain the necessary wrapper. Glibc 2.7 and +later should have this wrapper. + +EOF + +$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", (-e "/usr/include/sys/eventfd.h") || $ENV{EV_EVENTFD} ? "y" : "n") =~ /[yY]/)); + +print < { "EV.c" => "EV/EVAPI.h " . "libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c libev/ev_kqueue.c libev/ev_poll.c " - . "libev/event.h libev/event.c libev/ev_vars.h libev/ev_wrap.h", + . "libev/ev_vars.h libev/ev_wrap.h", }, INC => "-Ilibev", DEFINE => "$DEFINE", @@ -234,7 +252,13 @@ 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', + 'libev/ev.pod' => '$(INST_LIBDIR)/EV/libev.pod', }, + MAN3PODS => { + 'EV.pm' => '$(INST_MAN3DIR)/EV.$(MAN3EXT)', + 'EV/MakeMaker.pm' => '$(INST_MAN3DIR)/EV::MakeMaker.$(MAN3EXT)', + 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::libev.$(MAN3EXT)', + }, );