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

Comparing Coro/Makefile.PL (file contents):
Revision 1.65 by root, Sat Jun 11 13:01:26 2011 UTC vs.
Revision 1.72 by root, Thu Jun 4 22:58:28 2015 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2 2
3use 5.008002; 3use 5.008002;
4
5use Canary::Stability Coro => 1;
4 6
5unless (-e "Coro/libcoro/coro.c") { 7unless (-e "Coro/libcoro/coro.c") {
6 print <<EOF; 8 print <<EOF;
7 9
8*** 10***
19 21
20if (eval { require Event }) { 22if (eval { require Event }) {
21 if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { 23 if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) {
22 print <<EOF 24 print <<EOF
23 25
24*** 26***
25*** WARNING: Event version $Event::VERSION found, NOT building Event support. 27*** WARNING: Event version $Event::VERSION found, NOT building Event support.
26*** 28***
27*** This version of Event is broken. The only currently known non-broken 29*** 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 30*** versions of Event are 0.87 and 0.89+. Please install one of those
29*** versions. 31*** versions.
38} else { 40} else {
39 print "\n*** Event not found, not building Event support.\n\n"; 41 print "\n*** Event not found, not building Event support.\n\n";
40} 42}
41 43
42if (eval { require EV }) { 44if (eval { require EV }) {
43 if ($EV::VERSION < 3.3) { 45 if ($EV::VERSION < 4.0) {
44 print <<EOF 46 print <<EOF
45 47
46*** 48***
47*** WARNING: EV version $EV::VERSION found, NOT building EV support. 49*** WARNING: EV version $EV::VERSION found, NOT building EV support.
48*** 50***
49*** This version is ABI-incompatible with Coro, please upgrade to at least 3.3. 51*** This version is ABI-incompatible with Coro, please upgrade to at least 4.0.
50*** 52***
51 53
52EOF 54EOF
53 } else { 55 } else {
54 $EV = 1; 56 $EV = 1;
71 PREREQ_PM => { 73 PREREQ_PM => {
72 common::sense => 0, 74 common::sense => 0,
73 Scalar::Util => 0.00, 75 Scalar::Util => 0.00,
74 AnyEvent => 5.0, 76 AnyEvent => 5.0,
75 Storable => 2.15, 77 Storable => 2.15,
76 Time::HiRes => 0,
77 Guard => 0.5, 78 Guard => 0.5,
78 79
79 # for Coro::Event 80 # for Coro::Event
80 #Event => 1.06, 81 #Event => 1.06,
81 82
82 # for Coro::EV 83 # for Coro::EV
83 #EV => 3.3, 84 #EV => 4.0,
84 85
85 # for Coro::AIO 86 # for Coro::AIO
86 #IO::AIO => 2.3, 87 #IO::AIO => 2.3,
87 #AnyEvent::AIO => 1.1, 88 #AnyEvent::AIO => 1.1,
88 89
89 # for Coro::BDB 90 # for Coro::BDB
90 #BDB => 1.5, 91 #BDB => 1.5,
91 #AnyEvent::BDB => 1.0, 92 #AnyEvent::BDB => 1.0,
92 }, 93 },
94 CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 0 },
93 # neither configure_requires nor recommends can be used 95 # neither configure_requires nor recommends can be used
94 # for optional dependencies. whoever decided that a module needs 96 # for optional dependencies. whoever decided that a module needs
95 # to build properly without its dependencies installed 97 # to build properly without its dependencies installed
96 # needs his brain rearranged dramatically. 98 # needs his brain rearranged dramatically.
97 META_MERGE => { 99 META_MERGE => {
98 recommends => { 100 recommends => {
99 Event => 1.08, 101 Event => 1.08,
100 EV => 3.0, 102 EV => 4.0,
101 IO::AIO => 3.1, 103 IO::AIO => 3.1,
104 BDB => 0,
105 AnyEvent => 7.0,
102 AnyEvent::AIO => 1.0, 106 AnyEvent::AIO => 1.0,
103 BDB => 0,
104 AnyEvent::BDB => 1.0, 107 AnyEvent::BDB => 1.0,
105 } 108 }
106 }, 109 },
107 PM => { 110 PM => {
108 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', 111 'Coro.pm' => '$(INST_LIB)/Coro.pm',
109 112
110 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm', 113 'Coro/State.pm' => '$(INST_LIB)/Coro/State.pm',
111 'Coro/jit-amd64-unix.pl' => '$(INST_LIBDIR)/Coro/jit-amd64-unix.pl', 114 'Coro/jit-amd64-unix.pl' => '$(INST_LIB)/Coro/jit-amd64-unix.pl',
115 'Coro/jit-x86-unix.pl' => '$(INST_LIB)/Coro/jit-x86-unix.pl',
112 116
113 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', 117 'Coro/MakeMaker.pm' => '$(INST_LIB)/Coro/MakeMaker.pm',
114 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', 118 'Coro/CoroAPI.h' => '$(INST_LIB)/Coro/CoroAPI.h',
115 119
116# 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', 120# 'Coro/Cont.pm' => '$(INST_LIB)/Coro/Cont.pm',
117 121
118 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', 122 'Coro/Specific.pm' => '$(INST_LIB)/Coro/Specific.pm',
119 123
120 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm', 124 'Coro/Timer.pm' => '$(INST_LIB)/Coro/Timer.pm',
121 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', 125 'Coro/Signal.pm' => '$(INST_LIB)/Coro/Signal.pm',
122 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', 126 'Coro/Channel.pm' => '$(INST_LIB)/Coro/Channel.pm',
123 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', 127 'Coro/Semaphore.pm' => '$(INST_LIB)/Coro/Semaphore.pm',
124 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', 128 'Coro/SemaphoreSet.pm'=> '$(INST_LIB)/Coro/SemaphoreSet.pm',
125 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', 129 'Coro/RWLock.pm' => '$(INST_LIB)/Coro/RWLock.pm',
126 130
127 'Coro/Debug.pm' => '$(INST_LIBDIR)/Coro/Debug.pm', 131 'Coro/Debug.pm' => '$(INST_LIB)/Coro/Debug.pm',
128 'Coro/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm', 132 'Coro/Util.pm' => '$(INST_LIB)/Coro/Util.pm',
129 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm', 133 'Coro/Select.pm' => '$(INST_LIB)/Coro/Select.pm',
130 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm', 134 'Coro/Handle.pm' => '$(INST_LIB)/Coro/Handle.pm',
131 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm', 135 'Coro/Socket.pm' => '$(INST_LIB)/Coro/Socket.pm',
132 136
133 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', 137 'Coro/AIO.pm' => '$(INST_LIB)/Coro/AIO.pm',
134 'Coro/BDB.pm' => '$(INST_LIBDIR)/Coro/BDB.pm', 138 'Coro/BDB.pm' => '$(INST_LIB)/Coro/BDB.pm',
135 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm', 139 'Coro/LWP.pm' => '$(INST_LIB)/Coro/LWP.pm',
136 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm', 140 'Coro/Storable.pm' => '$(INST_LIB)/Coro/Storable.pm',
137 'Coro/AnyEvent.pm' => '$(INST_LIBDIR)/Coro/AnyEvent.pm', 141 'Coro/AnyEvent.pm' => '$(INST_LIB)/Coro/AnyEvent.pm',
138 }, 142 },
139); 143);
140 144
141sub MY::postamble { 145sub MY::postamble {
142 <<EOF; 146 <<EOF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines