… | |
… | |
8 | $|=1; |
8 | $|=1; |
9 | |
9 | |
10 | if (eval { require Event }) { |
10 | if (eval { require Event }) { |
11 | $EVENT = 1; |
11 | $EVENT = 1; |
12 | $DEFINE .= " -DHAVE_EVENT=1"; |
12 | $DEFINE .= " -DHAVE_EVENT=1"; |
13 | print "\n*** Event version $Event::VERSION found, building Event support.\n", |
13 | print "\nEvent version $Event::VERSION found, building Event support.\n\n"; |
|
|
14 | if ($Event::VERSION < 0.85) { |
14 | "*** Please read the INSTALL file, you might need to patch Event.\n\n"; |
15 | print "*** Please read the INSTALL file, you need a patched Event.\n"; |
|
|
16 | } |
|
|
17 | print "\n"; |
15 | } else { |
18 | } else { |
16 | print "\n*** Event not found, not build Event support.\n\n"; |
19 | print "\n*** Event not found, not build Event support.\n\n"; |
17 | $EVENT = 0; |
20 | $EVENT = 0; |
18 | } |
21 | } |
19 | |
22 | |