--- EV/Makefile.PL 2007/11/22 04:52:24 1.23 +++ EV/Makefile.PL 2008/04/15 04:41:57 1.33 @@ -40,7 +40,8 @@ reliably. Unfortunately, some systems are bound to be broken, so you can disable this here: you can completely disable the detection and use of the monotonic clock by answering 'n' here. Support for this clock type -will otherwise be autodetected at both compile- and runtime. +will otherwise be autodetected at both compile- and runtime. (this setting +currently affects the use of nanosleep over select as well). EOF @@ -67,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 < 2.6) : (); @@ -203,7 +237,7 @@ depend => { "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 evdns.h evdns.c libev/ev_vars.h libev/ev_wrap.h", + . "libev/ev_vars.h libev/ev_wrap.h", }, INC => "-Ilibev", DEFINE => "$DEFINE", @@ -215,7 +249,6 @@ VERSION_FROM => "EV.pm", PM => { 'EV.pm' => '$(INST_LIBDIR)/EV.pm', - 'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h',