From: Rafael Garcia-Suarez [mailto:[EMAIL PROTECTED]
 
> Paul Marquess wrote:
> > > -  $Inc = '-"I[.blib.lib]" -"I[.blib.arch]"';
> > > +  $Inc = '-"I[-.lib]" -"I[-.arch]"';
> > >   }
> > >   elsif ($^O eq 'MSWin32') {
> > >     foreach (@INC)
> >
> > Is this the layout needed for running these tests when Compress::Zlib is
> in
> > the core only? Is the use of blib still valid for the case when C::Z is
> > built on VMS away from the core?
> 
> That's possible, but blib should take care of that IIRC. (non-core builds)

Sorry, I don't think I was very clear. When I said to use blib, I didn't
mean "-Mblib", but to use the previous code that checked the blib directory

    $Inc = '-"I[.blib.lib]" -"I[.blib.arch]"'

So should the change be something like this to allow the module to be
installed with the core and standalone?

  if ($^O eq 'VMS') {
     if (INCORE ) {
        $Inc = '-"I[-.lib]" -"I[-.arch]"';
     }
     else {
        $Inc = '-"I[.blib.lib]" -"I[.blib.arch]"';
     }
  }
    
Where INCORE figures out which incpath to use.

Paul


                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

Reply via email to