From: Uwe Hermann Date: Sat, 19 Jan 2013 15:38:46 +0000 (+0100) Subject: Lower glib-2.0 requirement to 2.24.0. X-Git-Tag: libsigrokdecode-0.1.1~7 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7560e16c17b9616e2ab6ae39a65c550b061889fd;p=libsigrokdecode.git Lower glib-2.0 requirement to 2.24.0. We don't use any of the recent glib features in libsigrokdecode, it compiles fine with 2.24.x. --- diff --git a/README b/README index ee34529..0a94933 100644 --- a/README +++ b/README @@ -34,7 +34,7 @@ Requirements - automake >= 1.11 - libtool - pkg-config >= 0.22 - - libglib >= 2.28.0 + - libglib >= 2.24.0 - Python >= 3.0 diff --git a/configure.ac b/configure.ac index e024014..444b631 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,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.28.0], +AM_PATH_GLIB_2_0([2.24.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) # Python support. We require at least Python >= 3.0.