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

2021-05-03 Thread Pavel Hrdina
On Mon, May 03, 2021 at 10:35:07AM +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 st

[PATCH v2] meson: Declare GLIB_VERSION_* macros at configure

2021-05-03 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 c