From e21e846330070e102b24e08605b76b362020f500 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sat, 23 Jun 2012 01:17:36 +0200 Subject: [PATCH] sr/srd/cli: require glib version >= 2.28 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc. --- README | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 33e367a4..e25f2272 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 - libusb >= 1.0.5 (for most logic analyzer hardware) - libzip >= 0.8 - libftdi >= 0.16 (for some logic analyzer hardware) diff --git a/configure.ac b/configure.ac index 485fd90d..b0558ef3 100644 --- a/configure.ac +++ b/configure.ac @@ -181,7 +181,7 @@ SR_PKGLIBS="" # libglib-2.0 is always needed. # Note: glib-2.0 is part of the libsigrok 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"]) # libgthread-2.0 is always needed (e.g. for the demo hardware driver).