--- cvsroot/Coro/Makefile.PL 2004/05/13 16:12:14 1.16 +++ cvsroot/Coro/Makefile.PL 2005/12/26 18:48:11 1.21 @@ -10,25 +10,23 @@ *** compiles and passes the testsuite, it should work. Otherwise you *** should either upgrade or fix it ;) *** -*** Marc Lehmann +*** Marc Lehmann *** EOF } if (eval { require Event }) { - if ($Event::VERSION < 0.86) { - print "*** Please read the INSTALL file, you need a patched Event.\n"; - } elsif ($Event::VERSION == 0.88) { + if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { print < "Coro.pm", DIR => ['Coro', ($EVENT ? 'Event' : ())], PREREQ_PM => { - Event => 0.86, Scalar::Util => 0.00, + + # for Coro::Event + Event => 0.86, + + # for Coro::AIO + IO::AIO => 1.6, + AnyEvent => 0, }, PM => { 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', @@ -72,6 +76,8 @@ 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', + + 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', }, ); @@ -80,7 +86,7 @@ # set \$VERSION in all modules setver: - \$(PERL) -pi -e 's/^(\\s*\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm + \$(PERL) -pi -e 's/^(\\s*(our\\s*)?\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm EOF }