autoconf macro SANE_CHECK_U_TYPES fails on Tru64 with cc

From: Petter Reinholdtsen (
Date: Wed Jun 06 2001 - 15:51:20 PDT

  • Next message: Douglas Gilbert: "Re: Device I/O error"

    The autoconf macro SANE_CHECK_U_TYPES in sane-backends/acinclude.m4
    fails on Tru64 unix 5.1 when using Compaq C v6.3-28 (ie cc). The
    faulty line uses a compiler flags I've never seen before, and which is
    not recognized by Compaq C:

           [CPPFLAGS="$CPPFLAGS -isys/bitypes.h"; AC_MSG_RESULT(yes)],
           [AC_MSG_RESULT([no, not even included with netinet/in.h])])])

    The '-isys/bitypes.h' is passed on to the linker, and it refuses to
    use it and fails. I suggest changing macro to set a flag
    (NEED_SYS_BITYPES_H parhaps), and the to include the file in
    sane/config.h when needed.

    ##>  Petter Reinholdtsen  <##  |

    -- Source code, list archive, and docs: To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Wed Jun 06 2001 - 15:48:37 PDT