--- IO-AIO/Makefile.PL 2008/05/20 05:51:11 1.17 +++ IO-AIO/Makefile.PL 2011/07/24 03:32:52 1.25 @@ -1,35 +1,49 @@ -use v5.8.8; +use 5.008002; use ExtUtils::MakeMaker; use Config; -if ($^O =~ /win32/i or $^O =~ /mswin/) { - +if ($^O eq "MSWin32") { # configuration on windows is hardcoded - as always - warn "your platform is not standards-compliant, you have to port this module first\n"; - warn "using some hardcoded config that will not work on your system\n"; + print STDERR <libeio/config.h" + or die "libeio/config.h: $!"; + print $fh < "./configure --prefix \Q$Config{prefixexp}\E" @@ -61,7 +74,7 @@ *** *** WARNING: *** -*** Your perl uses it's own memory allocator (-Dusemymalloc=y), +*** Your perl uses its own memory allocator (-Dusemymalloc=y), *** which is known not to be threadsafe on GNU/Linux and probably *** other platforms (even when not used concurrently, it trashes *** the data structures of the system malloc running concurrently), @@ -88,9 +101,13 @@ VERSION_FROM => "AIO.pm", INC => $INC, LIBS => $LIBS, + EXE_FILES => ["bin/treescan"], PM => { 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', }, + PREREQ_PM => { + "common::sense" => 0, + }, clean => { FILES => "libeio/config.h libeio/config.log libeio/config.status" }, });