From: Bert Vermeulen Date: Mon, 29 Oct 2012 21:08:34 +0000 (+0100) Subject: require glib version >= 2.32 X-Git-Tag: dsupstream~617 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7445ed9158294e39ec697f54944e19a4b9636a6a;p=libsigrok.git require glib version >= 2.32 This allows us to do away with a few deprecated g_thread functions in demo.c which throw deprecation warnings since glib 2.32.0. --- diff --git a/configure.ac b/configure.ac index d6ff55de..850384c5 100644 --- a/configure.ac +++ b/configure.ac @@ -224,7 +224,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.28.0], +AM_PATH_GLIB_2_0([2.32.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) # libgthread-2.0 is always needed (e.g. for the demo hardware driver).