From 30493a083ee58f291736b03b51c130012053dcb9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Aug 2010 01:22:27 +0000 Subject: [PATCH] Disable ice100 cable driver when libusb is not found git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1824 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 2 ++ urjtag/configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 6aa1d2fb..0d2ac7b9 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -2,6 +2,8 @@ * configure.ac: Add autodetection of inpout32. + * configure.ac: Disable ice100 cable driver when libusb is not found. + 2010-08-11 Mike Frysinger * src/tap/cable/ice100.c: Add version check and firmware upgrade information diff --git a/urjtag/configure.ac b/urjtag/configure.ac index 390ec7bd..8ed64cc4 100644 --- a/urjtag/configure.ac +++ b/urjtag/configure.ac @@ -673,7 +673,7 @@ URJ_DRIVER_SET([cable], [ drivers=`echo ${drivers} | $SED -e "s/ft2232//" -e "s/usbblaster//"` ]) AS_IF([test "x$HAVELIBUSB" = "xno"], [ - drivers=`echo ${drivers} | $SED -e "s/jlink//" -e "s/xpc//"` + drivers=`echo ${drivers} | $SED -e s/jlink// -e s/xpc// -e s/ice100//` ]) ]) dnl the "fake" jim cable driver is special