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

Comparing Coro/Makefile.PL (file contents):
Revision 1.37 by root, Sun Nov 25 09:49:30 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(
69 NAME => "Coro", 81 NAME => "Coro",
70 VERSION_FROM => "Coro.pm", 82 VERSION_FROM => "Coro.pm",
71 DIR => ['Coro', ($EVENT ? 'Event' : ()), ($EV ? "EV" : ())], 83 DIR => ['Coro', ($EVENT ? 'Event' : ()), ($EV ? "EV" : ())],
72 PREREQ_PM => { 84 PREREQ_PM => {
73 Scalar::Util => 0.00, 85 Scalar::Util => 0.00,
74 AnyEvent => 2.6, 86 AnyEvent => 2.7,
75 Storable => 2.15, 87 Storable => 2.15,
76 Time::HiRes => 0, 88 Time::HiRes => 0,
77 89
78 # for Coro::Event 90 # for Coro::Event
79 Event => 1.06, 91 Event => 1.06,
113 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm', 125 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm',
114 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm', 126 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm',
115 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm', 127 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm',
116 128
117 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', 129 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm',
130 'Coro/BDB.pm' => '$(INST_LIBDIR)/Coro/BDB.pm',
118 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm', 131 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm',
119 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm', 132 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm',
120 }, 133 },
121); 134);
122 135

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines