autoconf macro SANE_CHECK_U_TYPES fails on Tru64 with cc

From: Petter Reinholdtsen (pere@hungry.com)
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:

        [AC_EGREP_HEADER(u_int8_t,netinet/in.h,
           [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  <##  |  pere@hungry.com
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



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