From b123fd3cd9a11b2dfb79025fb137696135f5f898 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Wed, 2 Dec 2009 22:32:08 -0800 Subject: [PATCH] fix configure problem when building w/o USB If building OpenOCD without any USB drivers, a warning would appear because $build_usb is never set to a sane default. This fixes it. --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index 9cb2b0f5..dbddcb2b 100644 --- a/configure.in +++ b/configure.in @@ -979,6 +979,7 @@ enum ftdi_chip_type x = TYPE_2232H; fi # check for usb.h when a driver will require it +build_usb=no if test $build_jlink = yes -o $build_vsllink = yes -o $build_usbprog = yes -o \ $build_rlink = yes -o $build_armjtagew = yes then -- 2.39.5