From: Uwe Hermann Date: Fri, 3 May 2013 17:53:09 +0000 (+0200) Subject: sigrok-cli depends on libsigrokdecode >= 0.2.0. X-Git-Tag: sigrok-cli-0.4.0~3 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7091896f954320abd4a46ed5569a436d904c2d2e;p=sigrok-cli.git sigrok-cli depends on libsigrokdecode >= 0.2.0. --- diff --git a/README b/README index 6bc1998..5355382 100644 --- a/README +++ b/README @@ -29,7 +29,7 @@ Requirements - pkg-config >= 0.22 - libglib >= 2.28.0 - libsigrok >= 0.2.0 - - libsigrokdecode >= 0.1.0 + - libsigrokdecode >= 0.2.0 Building and installing diff --git a/configure.ac b/configure.ac index 8bd75a2..7d86db3 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2.0], LIBS="$LIBS $libsigrok_LIBS"]) if test "x$WITH_SRD" = "xyes"; then - PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.1.0], + PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.2.0], [CFLAGS="$CFLAGS $libsigrokdecode_CFLAGS"; LIBS="$LIBS $libsigrokdecode_LIBS"; AC_DEFINE(HAVE_SRD, [1], [libsigrokdecode is available.])] @@ -118,7 +118,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.1.0"; do +for lib in "glib-2.0 >= 2.28.0" "libsigrok >= 0.2.0" "libsigrokdecode >= 0.2.0"; do if test "$lib" = "libsigrokdecode" -a "$WITH_SRD" != "yes" ; then answer="no" else