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>
This commit is contained in:
parent
d02361e99f
commit
2097f1adc5
|
@ -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…
Reference in New Issue