ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
(Generate patch)

Comparing EV/Makefile.PL (file contents):
Revision 1.66 by root, Fri Nov 22 14:44:08 2019 UTC vs.
Revision 1.67 by root, Fri Dec 20 21:05:49 2019 UTC

333EOF 333EOF
334 334
335my $can_signalfd = have_inc "sys/signalfd.h"; 335my $can_signalfd = have_inc "sys/signalfd.h";
336$can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD}; 336$can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD};
337$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/)); 337$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
338
339print <<EOF;
340
341*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
342
343
344Linux kernels can notify userspace about realtime clock timejumps
345using timerfd. Libev by default will try to take advantage of this if
346possible. You can completely disable the detection and use of timerfd for
347this purpose by answering 'n' here. Support for timerfd will otherwise be
348autodetected at both compile- and runtime.
349
350EOF
351
352unless (prompt ("Enable optional support for timerfd to detect timejumps (y/n)?", "y") =~ /[yY]/) {
353 $DEFINE .= " -DEV_USE_TIMERFD=0";
354}
338 355
339print <<EOF; 356print <<EOF;
340 357
341*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 358*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
342 359

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines