From 2097f1adc56c34aa855d6859c704ac8075c4218a Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Mon, 22 Dec 2014 14:06:25 +0000 Subject: [PATCH] configure.ac: xpp: now libusbx is the default * Fallback to old libusb-0.1 if libusbx isn't found. * Can force either: --{with,without}-{libusb,libusbx} Signed-off-by: Oron Peled Signed-off-by: Tzafrir Cohen --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 74f1f0b..9dc008a 100644 --- a/configure.ac +++ b/configure.ac @@ -194,7 +194,7 @@ AC_ARG_WITH([libusb], # LIBUSBX tests have_libusbx= -AS_IF([test "$with_libusbx" = "yes"], +AS_IF([test "$with_libusbx" != "no"], [PKG_CHECK_MODULES([LIBUSBX], [libusb-1.0], [AC_CHECK_LIB([usb-1.0], [libusb_error_name], [