[sane-devel] compiling without USB support

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 11 Mar 2003 12:05:13 +0100


Hi,

On Tue, Mar 11, 2003 at 11:22:59AM +0100, Hubert Figuiere wrote:
> I'd like to compile sane without USB support, because libusb makes sane 
> crash (this is a libusb issue, not sane, because I have the same 
> problem with gphoto2)

I'm interested in the details: Which version of libusb, where does it
crahs exactly, which platform?

> I tried passing
> 	--disable-usb
> 	--disable-libusb
> 
> ton configure. but without success.

That's not possible by setting an option. Either disable the tests in
configure.in (and run autoconf) or rename /usr/include/usb.h to
something else before running configure.

Bye,
  Henning