From fd746c306d9944cad6e456f4d5858cb0e6c42b62 Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Sun, 21 Jan 2018 22:21:25 +0000 Subject: [PATCH] Fix a typo in previous commit. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1424 81a1dc3b-b13d-400b-aceb-764788c761c2 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4c0d9f43..25a0e1e6 100644 --- a/configure.ac +++ b/configure.ac @@ -146,7 +146,7 @@ fi AH_TEMPLATE([HAVE_LIBUSB_1_0], [Define if USB support is enabled via a libusb-1.0 compatible libusb]) AC_CHECK_LIB([usb], [libusb_init], [have_libusb_1_0=yes]) -if test x$have_libusb_1_0 = xyes test x$have_libusb_1_0 = xyes; then +if test x$have_libusb_1_0 = xyes && test x$enabled_libusb_1_0 = xyes; then case $target in *-*-freebsd*) # FreeBSD 8+ has a native libusb-1.0 API compatible