Re: [Vala] Check conditionals versions of Vala

2013-02-08 Thread Abderrahim Kitouni
Hello, Le mercredi 6 février 2013, Olivier Duchateau a écrit : Hi, I wonder, if it exists preprocessors in Vala, or if it exists macro like GLIB_CHECK_VERSION, but known by valac ? I don't find any responses. There are macros named GLIB_2_XX defined if glib version (as passed to

Re: [Vala] Check conditionals versions of Vala

2013-02-08 Thread Olivier Duchateau
On Wed, 06 Feb 2013 19:50:40 +0100 JM interfl...@gmx.net wrote: There is conditional compilation: https://live.gnome.org/Vala/ConditionalCompilationSample You can check vala version and set flags in your configure script or something equivalent. You can modify the following to match

Re: [Vala] Check conditionals versions of Vala

2013-02-06 Thread JM
There is conditional compilation: https://live.gnome.org/Vala/ConditionalCompilationSample You can check vala version and set flags in your configure script or something equivalent. You can modify the following to match your demands and use it to set flags for your conditional compilation: