7 Aug
2003
7 Aug
'03
12:32 a.m.
Timo Sirainen <tss@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