
30 Mar
2006
30 Mar
'06
6:08 a.m.
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