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

Oliver Rauch oliver.rauch at rauch-domain.de
Wed Mar 6 21:29:26 GMT 2002


Hello.

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?

Bye
Oliver

-- 
Homepage:	http://www.rauch-domain.de
sane-umax:	http://www.rauch-domain.de/sane-umax
xsane:		http://www.xsane.org
E-Mail:		mailto:Oliver.Rauch at rauch-domain.de



More information about the sane-devel mailing list