David E. Wheeler wrote: > On Nov 7, 2008, at 12:22 AM, aff@cvs.perl.org wrote: >> +my $prefix = shift @ARGV || ($conf{prefix}); > I don't think that this is the way to do it, because ExtUtils::MakeMaker > supports other options to be passed on the command-line, like LDFLAGS > and LIB. Would something like this be ok? -my $prefix = shift @ARGV || ($conf{prefix}); +my $prefix = $ENV{PHP_PREFIX} || ($conf{prefix}); -- AndreasThread Previous | Thread Next