configure.ac: require GLib 2.32 (if enabled)

Since version 2.32, g_thread_init() is deprecated and a no-op.  Let's
upgrade that (optional) dependency so we can remove all those
g_thread_init() calls.
This commit is contained in:
Max Kellermann
2014-12-04 23:58:48 +01:00
parent d435dcdca4
commit 5cbc319e96
13 changed files with 1 additions and 130 deletions

View File

@@ -522,7 +522,7 @@ AC_ARG_ENABLE(glib,
enable_glib=auto)
if test x$enable_glib != xno; then
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28 gthread-2.0],
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.32],
[found_glib=yes],
[found_glib=no])