ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Event/Makefile.PL
Revision: 1.3
Committed: Mon Feb 18 21:25:02 2002 UTC (22 years, 4 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.2: +5 -2 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2 use Event::MakeMaker;
3
4 use 5.005;
5
6 use Config;
7
8 $|=1;
9
10 if (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
23 WriteMakefile(Event::MakeMaker::event_args(
24 NAME => "Coro::Event",
25 VERSION_FROM => "Event.pm",
26 DEFINE => $DEFINE,
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 },
34 ));
35
36
37