2012/2/17 Alex Valavanis <valavanisalex@...400...>:
Easy fix: Remove the G_DISABLE_SINGLE_INCLUDES flag from configure.ac again. This will fix the builds on older distros but it is risky because developers can easily break builds on newer platforms with glib >= 2.31 by adding single <glib/*.h> headers.
Proper fix: Bump glibmm dependency to >= 2.28. However, this will essentially kill our support for building Inkscape trunk on most older distro releases.
Neither are great solutions... any thoughts?
It could be defined conditionally, based on the glibmm version in use. I think there are macros to determine the glibmm version via pkg-config in Autoconf.
Note that, as far as I can tell, the 0.48.3 tarball also suffers from this problem :/
Regards, Krzysztof