--- cvsroot/Coro/Makefile.PL 2002/11/21 13:08:05 1.13 +++ cvsroot/Coro/Makefile.PL 2004/05/30 19:26:39 1.17 @@ -16,7 +16,28 @@ EOF } -$EVENT = eval { require Event }; +if (eval { require Event }) { + if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { + print < { @@ -28,11 +49,27 @@ VERSION_FROM => "Coro.pm", DIR => ['Coro', ($EVENT ? 'Event' : ())], PREREQ_PM => { - Event => 0.85, + Event => 0.86, Scalar::Util => 0.00, }, PM => { 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', + + 'Coro/State.pm' => '$(INST_LIBDIR)/Coro/State.pm', + + 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', + 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', + + 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', + + 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', + + 'Coro/Timer.pm' => '$(INST_LIBDIR)/Coro/Timer.pm', + 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', + 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', + 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', + 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', + 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', }, );