[sane-devel] sane-backends fail to build on Linux/hppa

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 7 Apr 2002 16:52:20 +0200


Hi,

On Sun, Mar 24, 2002 at 07:18:49PM +0100, Petter Reinholdtsen wrote:
> Checking the Debian autobuilder logs, I discovered that sane-backends
> fail to build on Linux/hppa.  The error message seem to be related to
> the inclusion of <asm/io.h>.  Apparently <sys/io.h> is missing bug
> <asm/io.h> is present and useless.
> 
> It do not seem like a god idea to use <asm/io.h> as a fallback.
> Anyone know how to solve this?

I have added a test to configure.in that tries to include asm/io.h and
undefines HAVE_ASM_IO_H if a compilation test doesn't work.

Only tested on i386, however.

Bye,
  Henning