--- EV/Makefile.PL 2009/07/14 00:09:59 1.41 +++ EV/Makefile.PL 2009/07/19 01:36:34 1.42 @@ -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 and include files. Glibc 2.9 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) : ();