|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-30 01:08:44
David Abrahams wrote:
>> It's tricky. Say you have:
>>
>> if [ configure.has-lib foo ]
>> {
>> }
>>
>> if [ configure.has-lib bar ]
>> {
>> }
>>
>> Them if you invoke bjam once for configuration, from 'configure.has-lib',
>> how that configure step knows that it should check not only for 'foo' but
>> also for 'bar', when 'has-lib' for bar is not yet called.
>>
>> So, you'd have to have a separate file describing configure checks, not
>> the above syntax. This is passable, but not ideal.
>
> It's more important to make things work than to make them ideal.
Anyway, this is more about doing work, then which approach is better. I
don't have a pressing need for configure step yet, but if I run into a
personal project where configure is really needed, I'll see what can be
done.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk