From: Bert Vermeulen Date: Fri, 22 Jun 2012 23:17:36 +0000 (+0200) Subject: sr/srd/cli: require glib version >= 2.28 X-Git-Tag: sigrok-cli-0.4.0~102 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=366237a361c2fe36ef86202e848e0f07602f07f0;p=sigrok-cli.git sr/srd/cli: require glib version >= 2.28 Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc. --- diff --git a/README b/README index 00f1155..b4c78b2 100644 --- a/README +++ b/README @@ -27,7 +27,7 @@ Requirements - automake >= 1.11 - libtool - pkg-config >= 0.22 - - libglib >= 2.22.0 + - libglib >= 2.28.0 - libsigrok >= 0.2.0 - libsigrokdecode >= 0.1.0 diff --git a/configure.ac b/configure.ac index b8f32f8..ea04095 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,7 @@ PKG_PROG_PKG_CONFIG([0.22]) # Checks for libraries. -AM_PATH_GLIB_2_0([2.22.0], +AM_PATH_GLIB_2_0([2.28.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2.0],