--- IO-AIO/Makefile.PL 2005/07/12 11:02:54 1.2 +++ IO-AIO/Makefile.PL 2007/01/23 22:57:34 1.12 @@ -2,6 +2,55 @@ use Config; +require "autoconf.pm"; + +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 => { PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', @@ -11,6 +60,10 @@ 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" }, }); $mm->flush;