From 41d43a33fb4088889aba931cbdbc032263a6f397 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Tue, 6 Oct 2015 21:08:36 +0200 Subject: [PATCH] build: Require GLib 2.28.0 This is needed for e.g. g_slist_free_full(), which incidentally has been in use for a while already. --- README | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 302c653..686efef 100644 --- a/README +++ b/README @@ -34,7 +34,7 @@ Requirements - automake >= 1.11 (only needed when building from git) - libtool (only needed when building from git) - pkg-config >= 0.22 - - libglib >= 2.24.0 + - libglib >= 2.28.0 - Python >= 3.2 - check >= 0.9.4 (optional, only needed to run unit tests) - doxygen (optional, only needed for the C API docs) diff --git a/configure.ac b/configure.ac index 09bfd56..c4960f4 100644 --- a/configure.ac +++ b/configure.ac @@ -130,7 +130,7 @@ AC_SUBST([SRD_PKGLIBS]) # Retrieve the compile and link flags for all modules combined. # Also, bail out at this point if any module dependency is not met. -PKG_CHECK_MODULES([LIBSIGROKDECODE], [glib-2.0 >= 2.24.0 $SRD_PKGLIBS]) +PKG_CHECK_MODULES([LIBSIGROKDECODE], [glib-2.0 >= 2.28.0 $SRD_PKGLIBS]) PKG_CHECK_MODULES([TESTS], [$SRD_PKGLIBS_TESTS glib-2.0 $SRD_PKGLIBS]) srd_glib_version=`$PKG_CONFIG --modversion glib-2.0 2>&AS_MESSAGE_LOG_FD` @@ -156,7 +156,7 @@ Compile configuration: - C compiler warnings............. $SRD_WFLAGS Detected libraries (required): - - glib-2.0 >= 2.24.0.............. $srd_glib_version + - glib-2.0 >= 2.28.0.............. $srd_glib_version $srd_pkglibs_summary Detected libraries (optional): $srd_pkglibs_opt_summary -- 2.30.2