From: Uwe Hermann Date: Thu, 20 Aug 2015 18:26:50 +0000 (+0200) Subject: Bump libsigrokdecode requirement to >= 0.4.0 (API change). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c7761cc7f319013808fd511e59004450740d2023;p=sigrok-test.git Bump libsigrokdecode requirement to >= 0.4.0 (API change). --- diff --git a/README b/README index ebfdcfa..366642c 100644 --- a/README +++ b/README @@ -29,7 +29,7 @@ Requirements - libglib >= 2.24.0 - Python >= 3.2 - libsigrok >= 0.3.0 - - libsigrokdecode >= 0.3.0 + - libsigrokdecode >= 0.4.0 - python3-coverage diff --git a/configure.ac b/configure.ac index 1877559..c8be068 100644 --- a/configure.ac +++ b/configure.ac @@ -85,7 +85,7 @@ PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.3.0], LIBS="$LIBS $libsigrok_LIBS"]) # libsigrokdecode is always needed. -PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.3.0], +PKG_CHECK_MODULES([libsigrokdecode], [libsigrokdecode >= 0.4.0], [AM_CFLAGS="$AM_CFLAGS $libsigrokdecode_CFLAGS"; LIBS="$LIBS $libsigrokdecode_LIBS"]) @@ -119,7 +119,7 @@ else fi # Note: This only works for libs with pkg-config integration. -for lib in "glib-2.0 >= 2.24.0" "libsigrok >= 0.3.0" "libsigrokdecode >= 0.3.0"; do +for lib in "glib-2.0 >= 2.24.0" "libsigrok >= 0.3.0" "libsigrokdecode >= 0.4.0"; do optional="REQUIRED" if `$PKG_CONFIG --exists $lib`; then ver=`$PKG_CONFIG --modversion $lib`