… | |
… | |
34 | $EVENT = 1; |
34 | $EVENT = 1; |
35 | $DEFINE .= " -DHAVE_EVENT=1"; |
35 | $DEFINE .= " -DHAVE_EVENT=1"; |
36 | print "\nEvent version $Event::VERSION found, building Event support.\n\n"; |
36 | print "\nEvent version $Event::VERSION found, building Event support.\n\n"; |
37 | } |
37 | } |
38 | } else { |
38 | } else { |
39 | print "\n*** Event not found, not build 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 < 3.3) { |
44 | print <<EOF |
44 | print <<EOF |
… | |
… | |
54 | $EV = 1; |
54 | $EV = 1; |
55 | $DEFINE .= " -DHAVE_EV=1"; |
55 | $DEFINE .= " -DHAVE_EV=1"; |
56 | print "\nEV version $EV::VERSION found, building EV support.\n\n"; |
56 | print "\nEV version $EV::VERSION found, building EV support.\n\n"; |
57 | } |
57 | } |
58 | } else { |
58 | } else { |
59 | print "\n*** EV not found, not build EV support.\n\n"; |
59 | print "\n*** EV not found, not building EV support.\n\n"; |
60 | } |
60 | } |
61 | |
61 | |
62 | WriteMakefile( |
62 | WriteMakefile( |
63 | dist => { |
63 | dist => { |
64 | PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
64 | PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |