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

Comparing Coro/Makefile.PL (file contents):
Revision 1.39 by root, Mon Dec 17 06:36:24 2007 UTC vs.
Revision 1.40 by root, Thu Dec 20 07:29:14 2007 UTC

51} else { 51} else {
52 print "\n*** Event not found, not build Event support.\n\n"; 52 print "\n*** Event not found, not build Event support.\n\n";
53} 53}
54 54
55if (eval { require EV }) { 55if (eval { require EV }) {
56 if ($EV::VERSION < 2.0) {
57 print <<EOF
58
59***
60*** WARNING: Event version $EV::VERSION found, NOT building EV support.
61***
62*** This version is ABI-incompatible with Coro, please upgrade to 2.0.
63***
64
65EOF
66 } else {
56 $EV = 1; 67 $EV = 1;
57 $DEFINE .= " -DHAVE_EV=1"; 68 $DEFINE .= " -DHAVE_EV=1";
58 print "\nEV version $EV::VERSION found, building EV support.\n\n"; 69 print "\nEV version $EV::VERSION found, building EV support.\n\n";
70 }
59} else { 71} else {
60 print "\n*** EV not found, not build EV support.\n\n"; 72 print "\n*** EV not found, not build EV support.\n\n";
61} 73}
62 74
63WriteMakefile( 75WriteMakefile(

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines