Re: [svn:PHP-Sandwich] r12056 - PHP-Sandwich/trunk

[email protected] (Andreas Faafeng) Mon, 10 Nov 2008 09:30:39 +0100
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
David E. Wheeler wrote:
> On Nov 7, 2008, at 12:22 AM, [email protected] 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});

-- 
Andreas