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

Comparing EV/Makefile.PL (file contents):
Revision 1.65 by root, Fri Nov 22 14:43:49 2019 UTC vs.
Revision 1.67 by root, Fri Dec 20 21:05:49 2019 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
369 386
370For example, if you run into compilation problems because of missing memory 387For example, if you run into compilation problems because of missing memory
371fences (or you just want extra performance), you can tell EV to not support 388fences (or you just want extra performance), you can tell EV to not support
372smp and threads via -DEV_NO_THREADS. 389smp and threads via -DEV_NO_THREADS.
373 390
374Normal persons just press enter. 391Most people would just press enter.
375 392
376EOF 393EOF
377 394
378$DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}"; 395$DEFINE .= " " . prompt "Any extra -D options?", "$ENV{EV_EXTRA_DEFS}";
379 396

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines