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

Oliver Rauch oliver.rauch@rauch-domain.de
Wed, 06 Mar 2002 22:29:26 +0100


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@rauch-domain.de