From d4b40ef6ee1ab7a5c9bb837b8f3ff2c52f3bb162 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