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: libsigrokdecode-0.1.1~75 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff_plain;h=387b6e3bb4340e20c978a8c47037d0bea9cca3c0 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 1ac8b42..a61a4a6 100644 --- a/README +++ b/README @@ -21,7 +21,7 @@ Requirements - automake >= 1.11 - libtool - pkg-config >= 0.22 - - libglib >= 2.22.0 + - libglib >= 2.28.0 - Python >= 3.0 diff --git a/configure.ac b/configure.ac index ec1a14f..0819c4a 100644 --- a/configure.ac +++ b/configure.ac @@ -78,7 +78,7 @@ AC_SUBST(SRD_LIB_LDFLAGS) # libglib-2.0 is always needed. # Note: glib-2.0 is part of the libsigrokdecode API # (hard pkg-config requirement). -AM_PATH_GLIB_2_0([2.22.0], +AM_PATH_GLIB_2_0([2.28.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) # Python support. We require at least Python >= 3.0.