Daniele Maccari wrote:
> Jonatan Liljedahl wrote:
>> Or something like this:
>>
>> with_gtk1=(
>>   "--enable-gtk"
>>   "--disable-gtk"
>> )
>>
>> or more self-documenting:
>>
>> useflag_gtk1=(
>>   "with=--enable-gtk"
>>   "without=--disable-gtk"
>> )
>>
>> Those would be easy parsable by bash itself...
>>   
> Sure, the possibilities are infinite :D
> I proposed the single array to be more concise and don't fill the recipe 
> with "with_<this>" and "with_<that>" arrays. Anyway the important thing 
> is to let useflags override configure.

>> And as said in previous post, we also need a not_using_<flag>() function
>> for more complex cases.
> What would you use that for? Wouldn't pre_* and post_* hooks be enough 
> for standard behaviour?

Some flags might need to add multiple configure options, disable others,
add or change makefile variables, etc..

-- 
/Jonatan         [ http://kymatica.com ]
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to