--- cvsroot/EV/Makefile.PL 2009/06/10 00:52:21 1.40 +++ cvsroot/EV/Makefile.PL 2009/08/26 17:31:20 1.44 @@ -1,4 +1,4 @@ -use 5.006; +use 5.008002; use strict qw(vars subs); use Config; @@ -229,6 +229,22 @@ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** +Another sometimes useful bit of functionality is the Linux signalfd, which +is useful for faster signal handling (don't care). 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 + +my $can_signalfd = -e "/usr/include/sys/signalfd.h"; +$can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD}; +$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/)); + +print < 2.6) : (); @@ -250,6 +266,7 @@ LIBS => [$LIBS], PREREQ_PM => { @anyevent, + "common::sense" => 0, }, VERSION_FROM => "EV.pm", PM => {