From: Uwe Hermann Date: Sun, 19 Apr 2015 16:39:35 +0000 (+0200) Subject: Lower libserialport requirement to 0.1.1. X-Git-Tag: libsigrok-0.4.0~522 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8d80146722786dc682ee7fa8cf168ab6f06a8271;p=libsigrok.git Lower libserialport requirement to 0.1.1. --- diff --git a/README b/README index eea27976..75ca2ee3 100644 --- a/README +++ b/README @@ -38,7 +38,7 @@ Requirements for the C library: - pkg-config >= 0.22 - libglib >= 2.32.0 - libzip >= 0.10 - - libserialport >= 0.1.0 (optional, used by some drivers) + - libserialport >= 0.1.1 (optional, used by some drivers) - librevisa >= 0.0.20130412 (optional, used by some drivers) - libusb-1.0 >= 1.0.16 (optional, used by some drivers) - libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers) diff --git a/configure.ac b/configure.ac index 61013ad7..bc9ce712 100644 --- a/configure.ac +++ b/configure.ac @@ -273,7 +273,7 @@ PKG_CHECK_MODULES([libzip], [libzip >= 0.10], # libserialport is only needed for some hardware drivers. Disable the # respective drivers if it is not found. if test "x$enable_libserialport" != "xno"; then - PKG_CHECK_MODULES([libserialport], [libserialport >= 0.2.0], + PKG_CHECK_MODULES([libserialport], [libserialport >= 0.1.1], [have_libserialport="yes"; LIB_CFLAGS="$LIB_CFLAGS $libserialport_CFLAGS"; LIBS="$LIBS $libserialport_LIBS"; SR_PKGLIBS="$SR_PKGLIBS libserialport"], @@ -562,7 +562,7 @@ echo "Detected libraries:" echo # Note: This only works for libs with pkg-config integration. -for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.2.0" \ +for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.1.1" \ "librevisa >= 0.0.20130412" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" \ "libftdi1 >= 1.0" "libgpib" "glibmm-2.4 >= 2.32.0" \ "pygobject-3.0 >= 3.0.0" "check >= 0.9.4"