ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Event/Makefile.PL
Revision: 1.2
Committed: Thu Aug 16 22:09:12 2001 UTC (22 years, 10 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.1: +9 -2 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 use ExtUtils::MakeMaker;
2 root 1.2 use Event::MakeMaker;
3 root 1.1
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 "\n*** Event version $Event::VERSION found, building Event support.\n",
14     "*** Please read the INSTALL file, you might need to patch Event.\n\n";
15     } else {
16     print "\n*** Event not found, not build Event support.\n\n";
17     $EVENT = 0;
18     }
19    
20 root 1.2 WriteMakefile(Event::MakeMaker::event_args(
21 root 1.1 NAME => "Coro::Event",
22     VERSION_FROM => "Event.pm",
23     DEFINE => $DEFINE,
24     DIR => [],
25 root 1.2 PM => {
26     'Event.pm' => '$(INST_LIBDIR)/Event.pm',
27     'Handle.pm' => '$(INST_LIBDIR)/Handle.pm',
28     'Socket.pm' => '$(INST_LIBDIR)/Socket.pm',
29     'Util.pm' => '$(INST_LIBDIR)/Util.pm',
30     },
31     ));
32 root 1.1
33    
34