[Dovecot] compile with dietlibc

Matthias Andree matthias.andree at gmx.de
Thu Aug 7 00:32:29 EEST 2003


Timo Sirainen <tss at iki.fi> writes:

> -AC_CHECKTYPE2(uintmax_t, [#include <inttypes.h>])
> +dnl some systems don't have stdint.h, but still have some of the types
> +dnl defined elsewhere
> +AC_CHECK_HEADER(stdint.h, [
> +  stdint_include="#include <stdint.h>"
> +])
> +
> +AC_CHECKTYPE2(uintmax_t, [$stdint_include])

inttypes.h is supposed to pull in stdint.h if the latter is present
according to IEEE Std 1003.1-2001, so an application will not need to
use stdint.h explicitly.

-- 
Matthias Andree


More information about the dovecot mailing list