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

Comparing Coro/Event/Makefile.PL (file contents):
Revision 1.3 by root, Mon Feb 18 21:25:02 2002 UTC vs.
Revision 1.4 by root, Sat Mar 22 18:50:32 2003 UTC

5 5
6use Config; 6use Config;
7 7
8$|=1; 8$|=1;
9 9
10if (eval { require Event }) {
11 $EVENT = 1;
12 $DEFINE .= " -DHAVE_EVENT=1";
13 print "\nEvent version $Event::VERSION found, building Event support.\n\n";
14 if ($Event::VERSION < 0.85) {
15 print "*** Please read the INSTALL file, you need a patched Event.\n";
16 }
17 print "\n";
18} else {
19 print "\n*** Event not found, not build Event support.\n\n";
20 $EVENT = 0;
21}
22
23WriteMakefile(Event::MakeMaker::event_args( 10WriteMakefile(Event::MakeMaker::event_args(
24 NAME => "Coro::Event", 11 NAME => "Coro::Event",
25 VERSION_FROM => "Event.pm", 12 VERSION_FROM => "Event.pm",
26 DEFINE => $DEFINE, 13 DEFINE => $DEFINE,
27 DIR => [], 14 DIR => [],
28 PM => {
29 'Event.pm' => '$(INST_LIBDIR)/Event.pm',
30 'Handle.pm' => '$(INST_LIBDIR)/Handle.pm',
31 'Socket.pm' => '$(INST_LIBDIR)/Socket.pm',
32 'Util.pm' => '$(INST_LIBDIR)/Util.pm',
33 },
34)); 15));
35 16
36 17
37 18

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines