]> sigrok.org Git - libsigrokdecode.git/blobdiff - configure.ac
configure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.
[libsigrokdecode.git] / configure.ac
index c27376fd33339dcbb06628d0bda94fa7eae19156..e5232ccec25fb1ec80249e427dbda65240fd7a0f 100644 (file)
@@ -66,7 +66,7 @@ PKG_PROG_PKG_CONFIG([0.22])
 # Carefully read the libtool docs before updating these numbers!
 # The algorithm for determining which number to change (and how) is nontrivial!
 # http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
-SRD_LIB_VERSION_CURRENT=1
+SRD_LIB_VERSION_CURRENT=2
 SRD_LIB_VERSION_REVISION=0
 SRD_LIB_VERSION_AGE=0
 SRD_LIB_VERSION="$SRD_LIB_VERSION_CURRENT:$SRD_LIB_VERSION_REVISION:$SRD_LIB_VERSION_AGE"
@@ -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