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