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

Frank Zago fzago at greshamstorage.com
Thu Mar 7 19:27:53 GMT 2002


> 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.




More information about the sane-devel mailing list