We now require libusb >= 1.0.9.

This is due to the use of libusb_error_name().
This commit is contained in:
Uwe Hermann 2012-10-21 22:41:39 +02:00
parent c46762a285
commit d11d606626
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -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)

View File

@ -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"])