For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > June 2006 > Re: [PEAR-QA] Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (bet









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (bet
Pierre

2006-06-19, 7:05 pm

On 6/19/06, Olivier Guilyardi <ojaiml@nerim.net> wrote:
> Pierre wrote:
>
> Isn't there a way to set a conditional dependency ? Like : if php4 then php_compat ?


Use an optional dependency:

<optional>
<package>
<name>PHP_Compat</name>
<channel>pear.php.net</channel>
<min>1.4.1</min>
</package>
</optional>

or something like that.

--Pierre
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com