From: Zachary T Welch Date: Thu, 3 Dec 2009 06:32:08 +0000 (-0800) Subject: fix configure problem when building w/o USB X-Git-Tag: v0.4.0-rc1~218 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b123fd3cd9a11b2dfb79025fb137696135f5f898;p=openocd 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. --- 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