… | |
… | |
3 | if ($] < 5.006) { |
3 | if ($] < 5.006) { |
4 | print <<EOF; |
4 | print <<EOF; |
5 | |
5 | |
6 | *** |
6 | *** |
7 | *** WARNING: This module is quite low-level and uses undocumented perl |
7 | *** WARNING: This module is quite low-level and uses undocumented perl |
8 | *** internals to do it's job. While it seems to work fine with perl-5.8, |
8 | *** internals to do it's job. While it seems to work fine with perl-5.[6-9] |
9 | *** 5.7 and 5.6, it has not been tested with older versions. If it |
9 | *** it has not been tested with older versions. If it compiles and passes the |
10 | *** compiles and passes the testsuite, it should work. Otherwise you |
10 | *** testsuite, it should work. Otherwise you should either upgrade or fix it ;) |
11 | *** should either upgrade or fix it ;) |
|
|
12 | *** |
11 | *** |
13 | *** Marc Lehmann <schmorp\@schmorp.de> |
12 | *** Marc Lehmann <schmorp\@schmorp.de> |
14 | *** |
13 | *** |
15 | |
14 | |
16 | EOF |
15 | EOF |
… | |
… | |
22 | |
21 | |
23 | *** |
22 | *** |
24 | *** WARNING: Event version $Event::VERSION found, NOT building Event support. |
23 | *** WARNING: Event version $Event::VERSION found, NOT building Event support. |
25 | *** |
24 | *** |
26 | *** This version of Event is broken. The only currently known non-broken |
25 | *** This version of Event is broken. The only currently known non-broken |
27 | *** versions of Event are 0.87 and 0.89+. Please install one of these |
26 | *** versions of Event are 0.87 and 0.89+. Please install one of those |
28 | *** versions. |
27 | *** versions. |
29 | *** |
28 | *** |
30 | |
29 | |
31 | EOF |
30 | EOF |
32 | } else { |
31 | } else { |
… | |
… | |
47 | }, |
46 | }, |
48 | NAME => "Coro", |
47 | NAME => "Coro", |
49 | VERSION_FROM => "Coro.pm", |
48 | VERSION_FROM => "Coro.pm", |
50 | DIR => ['Coro', ($EVENT ? 'Event' : ())], |
49 | DIR => ['Coro', ($EVENT ? 'Event' : ())], |
51 | PREREQ_PM => { |
50 | PREREQ_PM => { |
52 | Event => 0.86, |
|
|
53 | Scalar::Util => 0.00, |
51 | Scalar::Util => 0.00, |
|
|
52 | |
|
|
53 | # for Coro::Event |
|
|
54 | Event => 1.06, |
|
|
55 | Time::HiRes => 0, |
|
|
56 | |
|
|
57 | # for Coro::AIO, Coro::Util |
|
|
58 | IO::AIO => 2.3, |
|
|
59 | AnyEvent => 2.51, |
54 | }, |
60 | }, |
55 | PM => { |
61 | PM => { |
56 | 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', |
62 | 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', |
57 | |
63 | |
58 | 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm', |
64 | 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm', |
59 | |
65 | |
60 | 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', |
66 | 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', |
61 | 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', |
67 | 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', |
62 | |
68 | |
63 | 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', |
69 | # 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', |
64 | |
70 | |
65 | 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', |
71 | 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', |
66 | |
72 | |
67 | 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm', |
73 | 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm', |
68 | 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', |
74 | 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', |
69 | 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', |
75 | 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', |
70 | 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', |
76 | 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', |
71 | 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', |
77 | 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', |
72 | 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', |
78 | 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', |
|
|
79 | |
|
|
80 | 'Coro/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm', |
|
|
81 | 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm', |
|
|
82 | 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm', |
|
|
83 | 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm', |
|
|
84 | |
|
|
85 | 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', |
|
|
86 | 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm', |
|
|
87 | 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm', |
73 | }, |
88 | }, |
74 | ); |
89 | ); |
75 | |
90 | |
76 | sub MY::postamble { |
91 | sub MY::postamble { |
77 | <<EOF; |
92 | <<EOF; |