… | |
… | |
51 | } else { |
51 | } else { |
52 | print "\n*** Event not found, not build Event support.\n\n"; |
52 | print "\n*** Event not found, not build Event support.\n\n"; |
53 | } |
53 | } |
54 | |
54 | |
55 | if (eval { require EV }) { |
55 | if (eval { require EV }) { |
|
|
56 | if ($EV::VERSION < 2.0) { |
|
|
57 | print <<EOF |
|
|
58 | |
|
|
59 | *** |
|
|
60 | *** WARNING: Event version $EV::VERSION found, NOT building EV support. |
|
|
61 | *** |
|
|
62 | *** This version is ABI-incompatible with Coro, please upgrade to 2.0. |
|
|
63 | *** |
|
|
64 | |
|
|
65 | EOF |
|
|
66 | } else { |
56 | $EV = 1; |
67 | $EV = 1; |
57 | $DEFINE .= " -DHAVE_EV=1"; |
68 | $DEFINE .= " -DHAVE_EV=1"; |
58 | print "\nEV version $EV::VERSION found, building EV support.\n\n"; |
69 | print "\nEV version $EV::VERSION found, building EV support.\n\n"; |
|
|
70 | } |
59 | } else { |
71 | } else { |
60 | print "\n*** EV not found, not build EV support.\n\n"; |
72 | print "\n*** EV not found, not build EV support.\n\n"; |
61 | } |
73 | } |
62 | |
74 | |
63 | WriteMakefile( |
75 | WriteMakefile( |