… | |
… | |
38 | } else { |
38 | } else { |
39 | print "\n*** Event not found, not building Event support.\n\n"; |
39 | print "\n*** Event not found, not building Event support.\n\n"; |
40 | } |
40 | } |
41 | |
41 | |
42 | if (eval { require EV }) { |
42 | if (eval { require EV }) { |
43 | if ($EV::VERSION < 3.3) { |
43 | if ($EV::VERSION < 4.0) { |
44 | print <<EOF |
44 | print <<EOF |
45 | |
45 | |
46 | *** |
46 | *** |
47 | *** WARNING: EV version $EV::VERSION found, NOT building EV support. |
47 | *** WARNING: EV version $EV::VERSION found, NOT building EV support. |
48 | *** |
48 | *** |
49 | *** This version is ABI-incompatible with Coro, please upgrade to at least 3.3. |
49 | *** This version is ABI-incompatible with Coro, please upgrade to at least 4.0. |
50 | *** |
50 | *** |
51 | |
51 | |
52 | EOF |
52 | EOF |
53 | } else { |
53 | } else { |
54 | $EV = 1; |
54 | $EV = 1; |
… | |
… | |
78 | |
78 | |
79 | # for Coro::Event |
79 | # for Coro::Event |
80 | #Event => 1.06, |
80 | #Event => 1.06, |
81 | |
81 | |
82 | # for Coro::EV |
82 | # for Coro::EV |
83 | #EV => 3.3, |
83 | #EV => 4.0, |
84 | |
84 | |
85 | # for Coro::AIO |
85 | # for Coro::AIO |
86 | #IO::AIO => 2.3, |
86 | #IO::AIO => 2.3, |
87 | #AnyEvent::AIO => 1.1, |
87 | #AnyEvent::AIO => 1.1, |
88 | |
88 | |
… | |
… | |
95 | # to build properly without its dependencies installed |
95 | # to build properly without its dependencies installed |
96 | # needs his brain rearranged dramatically. |
96 | # needs his brain rearranged dramatically. |
97 | META_MERGE => { |
97 | META_MERGE => { |
98 | recommends => { |
98 | recommends => { |
99 | Event => 1.08, |
99 | Event => 1.08, |
100 | EV => 3.0, |
100 | EV => 4.0, |
101 | IO::AIO => 3.1, |
101 | IO::AIO => 3.1, |
|
|
102 | BDB => 0, |
|
|
103 | AnyEvent => 7.0, |
102 | AnyEvent::AIO => 1.0, |
104 | AnyEvent::AIO => 1.0, |
103 | BDB => 0, |
|
|
104 | AnyEvent::BDB => 1.0, |
105 | AnyEvent::BDB => 1.0, |
105 | } |
106 | } |
106 | }, |
107 | }, |
107 | PM => { |
108 | PM => { |
108 | 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', |
109 | 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', |