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

Comparing Coro/Makefile.PL (file contents):
Revision 1.64 by root, Fri Apr 1 17:19:52 2011 UTC vs.
Revision 1.70 by root, Fri Feb 8 22:29:18 2013 UTC

19 19
20if (eval { require Event }) { 20if (eval { require Event }) {
21 if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { 21 if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) {
22 print <<EOF 22 print <<EOF
23 23
24*** 24***
25*** WARNING: Event version $Event::VERSION found, NOT building Event support. 25*** WARNING: Event version $Event::VERSION found, NOT building Event support.
26*** 26***
27*** This version of Event is broken. The only currently known non-broken 27*** This version of Event is broken. The only currently known non-broken
28*** versions of Event are 0.87 and 0.89+. Please install one of those 28*** versions of Event are 0.87 and 0.89+. Please install one of those
29*** versions. 29*** versions.
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
42if (eval { require EV }) { 42if (eval { require EV }) {
43 if ($EV::VERSION < 3.3) { 43 if ($EV::VERSION < 4.0) {
44 print <<EOF 44 print <<EOF
45 45
46***
47*** WARNING: Event version $EV::VERSION found, NOT building EV support.
48*** 46***
47*** WARNING: EV version $EV::VERSION found, NOT building EV support.
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
52EOF 52EOF
53 } else { 53 } else {
54 $EV = 1; 54 $EV = 1;
71 PREREQ_PM => { 71 PREREQ_PM => {
72 common::sense => 0, 72 common::sense => 0,
73 Scalar::Util => 0.00, 73 Scalar::Util => 0.00,
74 AnyEvent => 5.0, 74 AnyEvent => 5.0,
75 Storable => 2.15, 75 Storable => 2.15,
76 Time::HiRes => 0,
77 Guard => 0.5, 76 Guard => 0.5,
78 77
79 # for Coro::Event 78 # for Coro::Event
80 #Event => 1.06, 79 #Event => 1.06,
81 80
82 # for Coro::EV 81 # for Coro::EV
83 #EV => 3.3, 82 #EV => 4.0,
84 83
85 # for Coro::AIO 84 # for Coro::AIO
86 #IO::AIO => 2.3, 85 #IO::AIO => 2.3,
87 #AnyEvent::AIO => 1.1, 86 #AnyEvent::AIO => 1.1,
88 87
95 # to build properly without its dependencies installed 94 # to build properly without its dependencies installed
96 # needs his brain rearranged dramatically. 95 # needs his brain rearranged dramatically.
97 META_MERGE => { 96 META_MERGE => {
98 recommends => { 97 recommends => {
99 Event => 1.08, 98 Event => 1.08,
100 EV => 3.0, 99 EV => 4.0,
101 IO::AIO => 3.1, 100 IO::AIO => 3.1,
101 BDB => 0,
102 AnyEvent => 7.0,
102 AnyEvent::AIO => 1.0, 103 AnyEvent::AIO => 1.0,
103 BDB => 0,
104 AnyEvent::BDB => 1.0, 104 AnyEvent::BDB => 1.0,
105 } 105 }
106 }, 106 },
107 PM => { 107 PM => {
108 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', 108 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm',
109 109
110 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm', 110 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm',
111 'Coro/jit-amd64-unix.pl' => '$(INST_LIBDIR)/Coro/jit-amd64-unix.pl',
112 'Coro/jit-x86-unix.pl' => '$(INST_LIBDIR)/Coro/jit-x86-unix.pl',
111 113
112 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', 114 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm',
113 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', 115 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h',
114 116
115# 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', 117# 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm',
116 118
117 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', 119 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm',
118 120
119 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm', 121 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm',
120 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', 122 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm',
121 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', 123 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm',
122 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', 124 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm',
123 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', 125 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm',
124 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', 126 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm',
125 127
126 'Coro/Debug.pm' => '$(INST_LIBDIR)/Coro/Debug.pm', 128 'Coro/Debug.pm' => '$(INST_LIBDIR)/Coro/Debug.pm',
127 'Coro/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm', 129 'Coro/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm',
128 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm', 130 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm',
129 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm', 131 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm',
130 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm', 132 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm',
131 133
132 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', 134 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm',
133 'Coro/BDB.pm' => '$(INST_LIBDIR)/Coro/BDB.pm', 135 'Coro/BDB.pm' => '$(INST_LIBDIR)/Coro/BDB.pm',
134 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm', 136 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm',
135 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm', 137 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm',
136 'Coro/AnyEvent.pm' => '$(INST_LIBDIR)/Coro/AnyEvent.pm', 138 'Coro/AnyEvent.pm' => '$(INST_LIBDIR)/Coro/AnyEvent.pm',
137 }, 139 },
138); 140);
139 141
140sub MY::postamble { 142sub MY::postamble {
141 <<EOF; 143 <<EOF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines