> In file included from ./src/natfeat/nf_objs.cpp:62:0:
> ./src/natfeat/usbhost.h:29:31: fatal error: libusb-1.0/libusb.h: No such file 
> or directory
> compilation terminated.

In configure.ac we have the following check:

  PKG_CHECK_MODULES([LIBUSB], [libusb-1.0], [WITH_USBHOST="yes"], 
[WITH_USBHOST="no"])

It is supposed to check whether the host has the "libusb-1.0" library
that we know it comes with libusb-1.0/libusb.h header file. This check
works OK on all platforms where ARAnyM normally builds.

The libusb2 on Debian/kfreebsd that claims it provides libusb-1.0 for
Debian somehow tricks the PKG_CHECK_MODULES check that the libusb-1.0
library is available even though it is not. That's why the #include
fails as seen above.

Any suggestion how to work around this?

Thanks

Petr


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to