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.68 by root, Tue Feb 18 18:26:47 2020 UTC

339print <<EOF; 339print <<EOF;
340 340
341*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 341*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
342 342
343 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}
355
356print <<EOF;
357
358*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
359
360
344Libev contains numerous internal assert() invocations to check for 361Libev contains numerous internal assert() invocations to check for
345consistency and user errors. These are normally enabled, but most 362consistency and user errors. These are normally enabled, but most
346perl builds disable this error reporting mechanism by default. You 363perl builds disable this error reporting mechanism by default. You
347can re-enable these asserts here. Enabling them might help you catch 364can re-enable these asserts here. Enabling them might help you catch
348programming bugs earlier, but might cause a small slowdown. Also, failures 365programming bugs earlier, but might cause a small slowdown. Also, failures
354 371
355EOF 372EOF
356 373
357my $enable_assertions = 0; 374my $enable_assertions = 0;
358$enable_assertions = 0 + (prompt ("Make sure assertions are enabled? (y/n)?", $enable_assertions ? "y" : "n") =~ /[yY]/); 375$enable_assertions = 0 + (prompt ("Make sure assertions are enabled? (y/n)?", $enable_assertions ? "y" : "n") =~ /[yY]/);
359$DEFINE .= " -DEV_ENABLE_ASERTIONS=1" if $enable_assertions; 376$DEFINE .= " -DEV_ENABLE_ASSERTIONS=1" if $enable_assertions;
360 377
361print <<EOF; 378print <<EOF;
362 379
363*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 380*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
364 381

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines