From: Uwe Hermann Date: Tue, 6 May 2014 21:17:43 +0000 (+0200) Subject: Bump libsigrok/libsigrokdecode dependencies to 0.3.0 each. X-Git-Tag: sigrok-cli-0.5.0~1 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c5e1e956dd6728e6fbb8d4ed75b5475bccb26ec9;p=sigrok-cli.git Bump libsigrok/libsigrokdecode dependencies to 0.3.0 each. --- diff --git a/README b/README index 5355382..5220f45 100644 --- a/README +++ b/README @@ -28,8 +28,8 @@ Requirements - libtool - pkg-config >= 0.22 - libglib >= 2.28.0 - - libsigrok >= 0.2.0 - - libsigrokdecode >= 0.2.0 + - libsigrok >= 0.3.0 + - libsigrokdecode >= 0.3.0 Building and installing diff --git a/configure.ac b/configure.ac index 8ab33aa..77857f0 100644 --- a/configure.ac +++ b/configure.ac @@ -64,12 +64,12 @@ AM_CONDITIONAL(WITH_SRD, test x$WITH_SRD = xyes) AM_PATH_GLIB_2_0([2.28.0], [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) -PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2.0], +PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.3.0], [CFLAGS="$CFLAGS $libsigrok_CFLAGS"; LIBS="$LIBS $libsigrok_LIBS"]) if test "x$WITH_SRD" = "xyes"; then - PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.2.0], + PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.3.0], [CFLAGS="$CFLAGS $libsigrokdecode_CFLAGS"; LIBS="$LIBS $libsigrokdecode_LIBS"; AC_DEFINE(HAVE_SRD, [1], [libsigrokdecode is available.])] @@ -98,7 +98,7 @@ echo "Detected libraries:" echo # Note: This only works for libs with pkg-config integration. -for lib in "glib-2.0 >= 2.28.0" "libsigrok >= 0.2.0" "libsigrokdecode >= 0.2.0"; do +for lib in "glib-2.0 >= 2.28.0" "libsigrok >= 0.3.0" "libsigrokdecode >= 0.3.0"; do if test "$lib" = "libsigrokdecode" -a "$WITH_SRD" != "yes" ; then answer="no" else