develooper Front page | perl.php.sandwich.dev | Postings from November 2008

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

Thread Previous | Thread Next
From:
Andreas Faafeng
Date:
November 10, 2008 03:09
Subject:
Re: [svn:PHP-Sandwich] r12056 - PHP-Sandwich/trunk
Message ID:
4917F12F.2060608@faafeng.com
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});

-- 
Andreas



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About