Browse Source

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 <oron.peled@xorcom.com>
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
master
Oron Peled 7 years ago
committed by Tzafrir Cohen
parent
commit
2097f1adc5
  1. 2
      configure.ac

2
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],
[

Loading…
Cancel
Save