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.7 by root, Sun Nov 5 19:16:09 2006 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 }) { 10WriteMakefile(Event::MakeMaker::event_args(
10 $EVENT = 1;
11 $DEFINE .= " -DHAVE_EVENT=1";
12 print "\n*** Event version $Event::VERSION found, building Event support.\n",
13 "*** Please read the INSTALL file, you might need to patch Event.\n\n";
14} else {
15 print "\n*** Event not found, not build Event support.\n\n";
16 $EVENT = 0;
17}
18
19WriteMakefile(
20 NAME => "Coro::Event", 11 NAME => "Coro::Event",
21 VERSION_FROM => "Event.pm", 12 VERSION_FROM => "Event.pm",
22 DEFINE => $DEFINE, 13 DEFINE => $DEFINE,
23 DIR => [], 14 DIR => [],
15 PM => {
16 'Event.pm' => '$(INST_LIBDIR)/Event.pm',
17 'Handle.pm' => '$(INST_LIBDIR)/Handle.pm',
18 'Socket.pm' => '$(INST_LIBDIR)/Socket.pm',
19 },
24); 20));
25 21
26 22
27 23

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines