--- IO-AIO/Makefile.PL 2005/07/31 19:04:45 1.4 +++ IO-AIO/Makefile.PL 2007/01/23 22:57:34 1.12 @@ -4,7 +4,52 @@ require "autoconf.pm"; -autoconf::run_script(); +if ($^O =~ /win32/i or $^O =~ /mswin/) { + + # configuration on windows is hardcoded - as always + + die "your platform is not standards-compliant, you have to port this module first\n";#d# + +} else { + + if ($^O =~ /freebsd/i) { + print <new({ dist => { @@ -15,6 +60,9 @@ NAME => "IO::AIO", VERSION_FROM => "AIO.pm", LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + PM => { + 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', + }, clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, });