aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-12-28 19:00:04 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-12-28 19:00:04 +0000
commit3fe9f89301f5ddf95932d30276f2692ac038628f (patch)
tree328c1029725e88ec10c7058468478a89e8e0e2a8
parent3c2dba40531da880a8c1bd0825e88f7866f051b4 (diff)
downloadusbutils-3fe9f89301f5ddf95932d30276f2692ac038628f.tar.gz
Require newer version of libusb
The change to update usbhid-dump in commit 89a279c implicitly changed the required version of libusb from 1.0.9 to a version that contains libusb_set_options(). The function was introduced in libusb 1.0.22, so let's update the pkg-config check to match. Fixes: #83
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1099d48..da648b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ AC_SYS_LARGEFILE
AC_CHECK_HEADERS([byteswap.h])
AC_CHECK_FUNCS([nl_langinfo iconv])
-PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.9)
+PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.22)
PKG_CHECK_MODULES(UDEV, libudev >= 196)