[sane-devel] How to find out if USB is available for compilation
Wed, 06 Mar 2002 22:29:26 +0100
I am integrating the umax-usb code from Frank Zago that adds support for the
Astra 2200 via USB connection into the umax scsi backend (umax.c).
I want to disable the USB code when USB is not supported on the platform.
Is there a planned way to identify if USB is available?
config.h:HAVE_USB_H seems to be the only available way to do this but
it is defined only for linux when the comment in config.h is correct.
How is USB identified for openBSD and other systems?