Re: [Vala] How to access valac version during runtime?

2012-09-06 Thread mar...@saepia.net
Thank you! m. 2012/9/6 Eric Gregory e...@yorba.org: On Wed, Sep 5, 2012 at 3:03 PM, mar...@saepia.net mar...@saepia.net wrote: If not, could you recommend any tested solution for adding it to config.h during running ./configure? We've been using -d for this purpose. As long as your needs

[Vala] How to access valac version during runtime?

2012-09-05 Thread mar...@saepia.net
Hi, I want to add version of vala compiler used to build sources to debug log generated by my application. It will simplify debugging. Is there any preprocessor macro available? I know there's one VALA_X_Y but it is impossible to use it in this way. If not, could you recommend any tested

Re: [Vala] How to access valac version during runtime?

2012-09-05 Thread Eric Gregory
On Wed, Sep 5, 2012 at 3:03 PM, mar...@saepia.net mar...@saepia.net wrote: If not, could you recommend any tested solution for adding it to config.h during running ./configure? We've been using -d for this purpose. As long as your needs aren't too complex it's very straightforward -- in Vala,