From: Daniel Elstner Date: Fri, 9 Oct 2015 16:33:14 +0000 (+0200) Subject: build: Require GLib 2.32.0 X-Git-Tag: sigrok-cli-0.6.0~4 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=commitdiff_plain;h=3addebb2440550f9b34a39629bdb7c1ab1d05fc3;ds=sidebyside build: Require GLib 2.32.0 This is needed for the G_SOURCE_REMOVE symbolic constant. Although it would be trivial to make do without it, there is no reason not to bump the requirement since libsigrok depends on GLib 2.32.0 anyway. --- diff --git a/README b/README index 0a05ecd..0f08261 100644 --- a/README +++ b/README @@ -27,7 +27,7 @@ Requirements - automake >= 1.11 (only needed when building from git) - libtool (only needed when building from git) - pkg-config >= 0.22 - - libglib >= 2.28.0 + - libglib >= 2.32.0 - libsigrok >= 0.4.0 - libsigrokdecode >= 0.4.0 diff --git a/configure.ac b/configure.ac index 7e13190..648f57f 100644 --- a/configure.ac +++ b/configure.ac @@ -89,7 +89,7 @@ AC_SYS_LARGEFILE # 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([SIGROK_CLI], - [glib-2.0 >= 2.28.0 libsigrok >= 0.4.0 $SC_PKGLIBS]) + [glib-2.0 >= 2.32.0 libsigrok >= 0.4.0 $SC_PKGLIBS]) sc_glib_version=`$PKG_CONFIG --modversion glib-2.0 2>&AS_MESSAGE_LOG_FD` sc_libsigrok_version=`$PKG_CONFIG --modversion libsigrok 2>&AS_MESSAGE_LOG_FD` @@ -114,7 +114,7 @@ Compile configuration: - C compiler warnings............. $SC_WFLAGS Detected libraries (required): - - glib-2.0 >= 2.28.0.............. $sc_glib_version + - glib-2.0 >= 2.32.0.............. $sc_glib_version - libsigrok >= 0.4.0.............. $sc_libsigrok_version Detected libraries (optional):