1 |
use ExtUtils::MakeMaker; |
2 |
|
3 |
use Config; |
4 |
|
5 |
require "autoconf.pm"; |
6 |
|
7 |
autoconf::run_script(); |
8 |
|
9 |
my $mm = MM->new({ |
10 |
dist => { |
11 |
PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
12 |
COMPRESS => 'gzip -9v', |
13 |
SUFFIX => '.gz', |
14 |
}, |
15 |
NAME => "IO::AIO", |
16 |
VERSION_FROM => "AIO.pm", |
17 |
LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], |
18 |
clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, |
19 |
}); |
20 |
|
21 |
$mm->flush; |
22 |
|