From: Uwe Hermann Date: Sun, 17 Sep 2017 14:55:50 +0000 (+0200) Subject: Drop libftdi 0.x support, require libftdi 1.x. X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=689749b741f74b9c30b934b655b7dbaf31b652bd;hp=19c9b176485e6033f024216a56058e507d47b2fc;p=libsigrok.git Drop libftdi 0.x support, require libftdi 1.x. There were some issues when using libftdi 0.x recently that are fixed when switching to libftdi 1.x (not really worth the effort to investigate). libftdi 1.x has been around several years now and should be available in most recent distros and OSes. For the rare cases where it is not, it's easy enough to get it via backport packages, or build from source, or sigrok users can just use our binary installers for most OSes. This also "fixes"/obsoletes bug #959. --- diff --git a/README b/README index f6d9842e..154c4928 100644 --- a/README +++ b/README @@ -41,7 +41,7 @@ Requirements for the C library: - 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) + - libftdi1 >= 1.0 (optional, used by some drivers) - libgpib (optional, used by some drivers) - libieee1284 (optional, used by some drivers) - check >= 0.9.4 (optional, only needed to run unit tests) diff --git a/configure.ac b/configure.ac index bf400f55..56c097fa 100644 --- a/configure.ac +++ b/configure.ac @@ -99,8 +99,7 @@ SR_EXTRA_CXX_LIBS= SR_ARG_OPT_PKG([libserialport], [LIBSERIALPORT], [NEED_SERIAL], [libserialport >= 0.1.1]) -SR_ARG_OPT_PKG([libftdi], [LIBFTDI],, - [libftdi1 >= 1.0], [libftdi >= 0.16]) +SR_ARG_OPT_PKG([libftdi], [LIBFTDI], , [libftdi1 >= 1.0]) # FreeBSD comes with an "integrated" libusb-1.0-style USB API. # This means libusb-1.0 is always available; no need to check for it.