From: R. Diez Date: Sun, 20 Jul 2025 08:39:02 +0000 (+0200) Subject: configure.ac: Remove useless --enable-verbose-usb-io X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;p=users%2Fborneoa%2Fopenocd-next.git configure.ac: Remove useless --enable-verbose-usb-io _DEBUG_USB_IO_ was not actually used anywhere. Its last user was the old ft2232 driver removed in Nov 2016 with commit cc2d4f015f72d7c30d613b50572eb9f31fac515a ("Remove since long deprecated ft2232 driver"). Change-Id: I1a98db7c7b03a89cc9347c0a66ec2106d2168c3f Signed-off-by: R. Diez Reviewed-on: https://review.openocd.org/c/openocd/+/9002 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/configure.ac b/configure.ac index e05aa6ac8..e7f797608 100644 --- a/configure.ac +++ b/configure.ac @@ -262,34 +262,21 @@ AS_IF([test "x$enable_gcov" = "xyes"], [ AC_DEFINE([USE_GCOV], [0], [0 to leave coverage collection disabled.]) ]) -# set default verbose options, overridden by following options -debug_usb_io=no +# set default for debug_usb_comms, overridden by following options debug_usb_comms=no AC_ARG_ENABLE([verbose], AS_HELP_STRING([--enable-verbose], [Enable verbose JTAG I/O messages (for debugging).]), [ - debug_usb_io=$enableval debug_usb_comms=$enableval ], []) -AC_ARG_ENABLE([verbose_usb_io], - AS_HELP_STRING([--enable-verbose-usb-io], - [Enable verbose USB I/O messages (for debugging)]), - [debug_usb_io=$enableval], []) - AC_ARG_ENABLE([verbose_usb_comms], AS_HELP_STRING([--enable-verbose-usb-comms], [Enable verbose USB communication messages (for debugging)]), [debug_usb_comms=$enableval], []) -AC_MSG_CHECKING([whether to enable verbose USB I/O messages]); -AC_MSG_RESULT([$debug_usb_io]) -AS_IF([test "x$debug_usb_io" = "xyes"], [ - AC_DEFINE([_DEBUG_USB_IO_],[1], [Print verbose USB I/O messages]) -]) - AC_MSG_CHECKING([whether to enable verbose USB communication messages]); AC_MSG_RESULT([$debug_usb_comms]) AS_IF([test "x$debug_usb_comms" = "xyes"], [