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.1 by root, Thu Aug 16 21:55:35 2001 UTC vs.
Revision 1.3 by root, Mon Feb 18 21:25:02 2002 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2use Event::MakeMaker;
2 3
3use 5.005; 4use 5.005;
4 5
5use Config; 6use Config;
6 7
7$|=1; 8$|=1;
8 9
9if (eval { require Event }) { 10if (eval { require Event }) {
10 $EVENT = 1; 11 $EVENT = 1;
11 $DEFINE .= " -DHAVE_EVENT=1"; 12 $DEFINE .= " -DHAVE_EVENT=1";
12 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) {
13 "*** 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";
14} else { 18} else {
15 print "\n*** Event not found, not build Event support.\n\n"; 19 print "\n*** Event not found, not build Event support.\n\n";
16 $EVENT = 0; 20 $EVENT = 0;
17} 21}
18 22
19WriteMakefile( 23WriteMakefile(Event::MakeMaker::event_args(
20 NAME => "Coro::Event", 24 NAME => "Coro::Event",
21 VERSION_FROM => "Event.pm", 25 VERSION_FROM => "Event.pm",
22 DEFINE => $DEFINE, 26 DEFINE => $DEFINE,
23 DIR => [], 27 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 },
24); 34));
25 35
26 36
27 37

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines