[sane-devel] make errors with 1.07

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Mar 10 16:39:44 GMT 2002


Hi,

On Sat, Mar 09, 2002 at 09:35:33PM +0100, abel deuring wrote:
> Thanks, I'll try that. Is there a way to restrict this test to Linux? We
> should not bother users of other OSes with stuff that is not relevant to
> them, if possible.

You could check for the existence of sg.h. For an example, look at the
code some lines above:

| if test "$ac_cv_header_sys_scsiio_h" = "yes" \
|     -a "$ac_cv_header_scsi_h" = "yes";
     
So in your case you would test for $ac_cv_header_scsi_sg_h.

Bye,
  Henning



More information about the sane-devel mailing list