From 0df5990524f9a9ecc6dba9ae267ff26ff6112a3e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Jun 2010 02:42:58 +0000 Subject: [PATCH] give libusb-1.0+ libftdi users a tip about --with-async-mode git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1796 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 3 +++ urjtag/configure.ac | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 648b2dad..6242d25f 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -2,6 +2,9 @@ * src/tap/usbconn/libftdi.c (usbconn_ftdi_flush): Fix gcc printf warning. + * configure.ac: Have the libftdi + libusb-1.0 error give a tip about using + --with-async-mode with the libftdi package when erroring out. + 2010-06-21 Mike Frysinger * src/bus/bf518f_ezbrd.c (urj_bus_bf51x_bus): Fix copy & paste typo in name. diff --git a/urjtag/configure.ac b/urjtag/configure.ac index ca9a8c9e..deff72cf 100644 --- a/urjtag/configure.ac +++ b/urjtag/configure.ac @@ -282,7 +282,8 @@ AS_IF([test "x$with_libftdi" != xno], [ HAVELIBFTDI_ASYNCMODE=yes ], [ AS_IF([test "x$HAVELIBUSB1" = "xyes"], [ - AC_MSG_ERROR([this libftdi cannot be used with libusb-1.0, libusb-0.1 is needed]) + AC_MSG_ERROR([this libftdi cannot be used with libusb-1.0, libusb-0.1 is needed. + did you configure libftdi with --with-async-mode ?]) ],) ]) ],)