From: Uwe Hermann Date: Tue, 6 May 2014 21:06:57 +0000 (+0200) Subject: Bump libsigrok (optional) dependency to 0.3.0. X-Git-Tag: libsigrokdecode-0.3.0~3 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=92682a9977259f32054e839aa4a76028fec9ecda;p=libsigrokdecode.git Bump libsigrok (optional) dependency to 0.3.0. --- diff --git a/README b/README index 82c7849..fa30ef0 100644 --- a/README +++ b/README @@ -37,7 +37,7 @@ Requirements - libglib >= 2.24.0 - Python >= 3.2 - check >= 0.9.4 (optional, only needed to run unit tests) - - libsigrok >= 0.2.0 (optional, only needed for the developer PD tests) + - libsigrok >= 0.3.0 (optional, only needed for the developer PD tests) - python3-coverage (optional, only needed for the developer PD tests) diff --git a/configure.ac b/configure.ac index c27376f..972ceac 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") # libsigrok is optional (only used for the protocol decoder test framework). # Disable if not found. -PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2.0], +PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.3.0], [LIBSIGROK_CFLAGS="$libsigrok_CFLAGS"; LIBSIGROK_LIBS="$libsigrok_LIBS"], [build_runtc="no"]) AC_SUBST([LIBSIGROK_CFLAGS]) @@ -182,7 +182,7 @@ else fi # Note: This only works for libs with pkg-config integration. -for lib in "glib-2.0 >= 2.24.0" "check >= 0.9.4" "libsigrok >= 0.2.0"; do +for lib in "glib-2.0 >= 2.24.0" "check >= 0.9.4" "libsigrok >= 0.3.0"; do optional="OPTIONAL" if test "x$lib" = "xglib-2.0 >= 2.24.0"; then optional="REQUIRED"; fi if `$PKG_CONFIG --exists $lib`; then