From: Nick Bowler Date: Fri, 7 Feb 2020 02:15:04 +0000 (-0500) Subject: Improve GLib probe against old GLib versions. X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/803e498e869f88d9daceadf143e3360c17cb7410?hp=803e498e869f88d9daceadf143e3360c17cb7410 Improve GLib probe against old GLib versions. The glib_check_version function was not available in older versions of glib2, so this is a bad choice for the link test. Let's use g_get_prgname instead, which is available at least as far back as glib 2.0.0. More importantly, with gcc these old glib versions use 'extern inline' in header files and expect GNU inline semantics. This generally does not work with modern gcc, so add an additional configure test which will detect this problem and work around it. ---