[sane-devel] make errors with 1.07

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 10 Mar 2002 17:39:44 +0100


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.