--- IO-AIO/Makefile.PL 2005/07/31 18:14:48 1.3 +++ IO-AIO/Makefile.PL 2006/10/26 16:28:33 1.10 @@ -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,7 @@ NAME => "IO::AIO", VERSION_FROM => "AIO.pm", LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, }); $mm->flush;