From: Uwe Hermann Date: Sun, 21 Oct 2012 20:41:39 +0000 (+0200) Subject: We now require libusb >= 1.0.9. X-Git-Tag: dsupstream~650 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d11d606626a2ce9359ed2b5395fe4b998604da92;p=libsigrok.git We now require libusb >= 1.0.9. This is due to the use of libusb_error_name(). --- diff --git a/README b/README index 7439d0c2..989984ea 100644 --- a/README +++ b/README @@ -35,7 +35,7 @@ Requirements - libtool - pkg-config >= 0.22 - libglib >= 2.28.0 - - libusb >= 1.0.5 (for most hardware) + - libusb >= 1.0.9 (for most hardware) - libzip >= 0.8 - libftdi >= 0.16 (for some hardware) - libudev >= 151 (for some hardware) diff --git a/configure.ac b/configure.ac index 857d0ead..941268cc 100644 --- a/configure.ac +++ b/configure.ac @@ -228,7 +228,7 @@ if test "x$LA_ASIX_SIGMA" != xno \ [Specifies whether we have a libusb.h header.]) ;; *) - PKG_CHECK_MODULES([libusb], [libusb-1.0 >= 1.0.5], + PKG_CHECK_MODULES([libusb], [libusb-1.0 >= 1.0.9], [CFLAGS="$CFLAGS $libusb_CFLAGS"; LIBS="$LIBS $libusb_LIBS"; SR_PKGLIBS="$SR_PKGLIBS libusb-1.0"])