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

Comparing EV/Makefile.PL (file contents):
Revision 1.60 by root, Mon Jun 24 21:38:08 2019 UTC vs.
Revision 1.62 by root, Thu Jul 11 08:51:48 2019 UTC

7 scalar grep -r "$_/$_[0]", $Config{usrinc}, split / /, $Config{incpth} 7 scalar grep -r "$_/$_[0]", $Config{usrinc}, split / /, $Config{incpth}
8} 8}
9 9
10my $DEFINE; 10my $DEFINE;
11 11
12unless (-e "libev/ev_epoll.c") { 12unless (-e "libev/ev_linuxaio.c") {
13 print <<EOF; 13 print <<EOF;
14 14
15*** 15***
16*** ERROR: libev is missing or damaged. If you used a CVS check-out of EV, 16*** ERROR: libev is missing or damaged. If you used a CVS check-out of EV,
17*** you also have to check-out the "libev" module from the same CVS 17*** you also have to check-out the "libev" module from the same CVS
297print <<EOF; 297print <<EOF;
298 298
299*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 299*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
300 300
301 301
302Libev contains numerous internal assert() invocations to check for
303consistency and user errors. These are normally enabled, but most
304perl builds disable this error reporting mechanism by default. You
305can re-enable these asserts here. Enabling them might help you catch
306programming bugs earlier, but might cause a small slowdown. Also, failures
307will be reported by aboritng your program, instead of throwing a perl
308exception.
309
310If unsure, enable this if you only use this perl installation for
311development, and leave it off for use in production environments.
312
313EOF
314
315my $enable_assertions = 0;
316$enable_assertions = 0 + (prompt ("Make sure assertions are enabled? (y/n)?", $enable_assertions ? "y" : "n") =~ /[yY]/);
317$DEFINE .= " -DEV_ENABLE_ASERTIONS=1" if $enable_assertions;
318
319print <<EOF;
320
321*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
322
323
302Very rarely, people want to tweak EV even more, e.g. to exclude 324Very rarely, people want to tweak EV even more, e.g. to exclude
303or include certain watcher types or backends. This can be done by adding 325or include certain watcher types or backends. This can be done by adding
304extra -D options here, or via the EV_EXTRA_DEFS environment variable. 326extra -D options here, or via the EV_EXTRA_DEFS environment variable.
305 327
306For example, if you run into compile problems because of missing memory 328For example, if you run into compile problems because of missing memory
328 COMPRESS => 'gzip -9v', 350 COMPRESS => 'gzip -9v',
329 SUFFIX => '.gz', 351 SUFFIX => '.gz',
330 }, 352 },
331 depend => { 353 depend => {
332 "EV.c" => "EV/EVAPI.h " 354 "EV.c" => "EV/EVAPI.h "
333 . "libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c libev/ev_kqueue.c libev/ev_poll.c " 355 . "libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c libev/ev_kqueue.c libev/ev_poll.c libev/ev_linuxaio.c "
334 . "libev/ev_vars.h libev/ev_wrap.h", 356 . "libev/ev_vars.h libev/ev_wrap.h",
335 }, 357 },
336 INC => "-Ilibev", 358 INC => "-Ilibev",
337 DEFINE => "$DEFINE", 359 DEFINE => "$DEFINE",
338 NAME => "EV", 360 NAME => "EV",
355 'EV/MakeMaker.pm' => '$(INST_MAN3DIR)/EV::MakeMaker.$(MAN3EXT)', 377 'EV/MakeMaker.pm' => '$(INST_MAN3DIR)/EV::MakeMaker.$(MAN3EXT)',
356 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::libev.$(MAN3EXT)', 378 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::libev.$(MAN3EXT)',
357 }, 379 },
358); 380);
359 381
360

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines