Re: [PATCH 2/2] meson: Declare GLIB_VERSION_* macros at configure

2021-05-03 Thread Michal Prívozník
On 5/3/21 10:17 AM, Pavel Hrdina wrote: > On Fri, Apr 30, 2021 at 07:18:49AM +0200, Michal Privoznik wrote: >> So far we have three places where glib version is recorded: >> meson.build and then in config.h. The latter is so well hidden >> that it's easy to miss when bumping minimal glib version

Re: [PATCH 2/2] meson: Declare GLIB_VERSION_* macros at configure

2021-05-03 Thread Pavel Hrdina
On Fri, Apr 30, 2021 at 07:18:49AM +0200, Michal Privoznik wrote: > So far we have three places where glib version is recorded: > meson.build and then in config.h. The latter is so well hidden > that it's easy to miss when bumping minimal glib version in the > former. With a bit of python^Wmeson

[PATCH 2/2] meson: Declare GLIB_VERSION_* macros at configure

2021-04-29 Thread Michal Privoznik
So far we have three places where glib version is recorded: meson.build and then in config.h. The latter is so well hidden that it's easy to miss when bumping minimal glib version in the former. With a bit of python^Wmeson string magic GLIB_VERSION_MIN_REQUIRED and GLIB_VERSION_MAX_ALLOWED macros