[sane-devel] How to find out if USB is available for compilation

Frank Zago fzago@greshamstorage.com
Thu, 7 Mar 2002 13:27:53 -0600 (CST)


> No, that's a documentation bug. usb.h is part of libusb so if
> HAVE_USB_H is defined, that means this library is available. There is
> a test in configure.in that enables the sm3600 backend if the library
> is found. That's the onl backend that uses this library. All the other
> backends use sanei_usb or direct access to USB device files.

Every backend is linked with libusb though!

On a side note, only linux can use the UMAX 2200 usb because the backend
needs to send control messages to the device.

Frank.