… | |
… | |
17 | } |
17 | } |
18 | |
18 | |
19 | if (eval { require Event }) { |
19 | if (eval { require Event }) { |
20 | if ($Event::VERSION < 0.86) { |
20 | if ($Event::VERSION < 0.86) { |
21 | print "*** Please read the INSTALL file, you need a patched Event.\n"; |
21 | print "*** Please read the INSTALL file, you need a patched Event.\n"; |
|
|
22 | } elsif ($Event::VERSION == 0.88) { |
|
|
23 | print <<EOF |
|
|
24 | |
|
|
25 | *** |
|
|
26 | *** WARNING: Event version $Event::VERSION found, NOT building Event support. |
|
|
27 | *** |
|
|
28 | *** This version of Event is broken. The only currently known non-broken |
|
|
29 | *** version of Event is 0.87. Please install this version, or try with a |
|
|
30 | *** newer version that hopefully has the bug fixed. |
|
|
31 | *** |
|
|
32 | |
|
|
33 | EOF |
22 | } else { |
34 | } else { |
23 | $EVENT = 1; |
35 | $EVENT = 1; |
24 | $DEFINE .= " -DHAVE_EVENT=1"; |
36 | $DEFINE .= " -DHAVE_EVENT=1"; |
25 | print "\nEvent version $Event::VERSION found, building Event support.\n\n"; |
37 | print "\nEvent version $Event::VERSION found, building Event support.\n\n"; |
26 | } |
38 | } |