use Canary::Stability IO::AIO => 1, 5.008002; use ExtUtils::MakeMaker; use Config; if ($^O eq "MSWin32") { # configuration on windows is hardcoded - as always print STDERR <libeio/config.h" or die "libeio/config.h: $!"; print $fh < "./configure --prefix \Q$Config{prefixexp}\E" and exit $? >> 8; } } if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") { print <new({ dist => { PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', COMPRESS => 'gzip -9v', SUFFIX => '.gz', }, depend => { "AIO.c" => "schmorp.h libeio/eio.h libeio/xthread.h libeio/etp.c libeio/eio.c libeio/config.h", }, NAME => "IO::AIO", VERSION_FROM => "AIO.pm", INC => $INC, LIBS => $LIBS, EXE_FILES => ["bin/treescan"], PM => { 'AIO.pm' => '$(INST_LIB)/IO/AIO.pm', }, CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 2001 }, PREREQ_PM => { "common::sense" => 0, }, clean => { FILES => "libeio/config.h libeio/config.log libeio/config.status" }, }); $mm->flush;