[sane-devel] compiling SANE with Intel icc

2003-02-19 Thread stef
On Tue, Feb 18, 2003 at 09:28:39PM +0100, Henning Meier-Geinitz wrote: > Hi, > > On Tue, Feb 18, 2003 at 02:47:13PM +0100, stef wrote: > > compiling SANE under linux with Intel icc fails because inb/outb are > > not defined, due to an ifdef __GNUC__ in sys/io.h . > > Known issue (see README.

[sane-devel] compiling SANE with Intel icc

2003-02-18 Thread Henning Meier-Geinitz
Hi, On Tue, Feb 18, 2003 at 02:47:13PM +0100, stef wrote: > compiling SANE under linux with Intel icc fails because inb/outb are > not defined, due to an ifdef __GNUC__ in sys/io.h . Known issue (see README.linux). > So testing HAVE_SYS_IO_H isn't enough, We should also test for > __GNUC_

[sane-devel] compiling SANE with Intel icc

2003-02-18 Thread stef
Hello, compiling SANE under linux with Intel icc fails because inb/outb are not defined, due to an ifdef __GNUC__ in sys/io.h . So testing HAVE_SYS_IO_H isn't enough, We should also test for __GNUC__ . Since icc accepts gcc inline assembly, we can use the code written to define