[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: size_t check fails in configure



At 01:09 PM 4/3/99 +0200, Hallvard B Furuseth wrote:
>[repost, last message got truncated]
>The checks for size_t & co fail on sgi irix, so it #defines size_t as

Which version of IRIX? Which compiler? Which version of OpenLDAP?

>unsigned even though it does exist.

How bad are the type mismatches?  Do they differ in size? signness?
Does OpenLDAP compile and operate dispite the mismatches?

>I think it's because the type is
>declared in stddef.h instead of sys/types.h, but configure
>doesn't use stddef unless defined(STDC_HEADERS).

Exactly.  AC_CHECK_TYPE() looks in <sys/types.h> and, if STDC_HEADERS,
<stdlib.h> and <stddef.h>.  STDC_HEADERS being false is likely to
cause other problems as well.  config.log output for the STDC_HEADERS
test would be interesting.

Kurt