Hi,

In autoconf-2.59d, the output of configure for

AC_TYPE_UINT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINTMAX_T
AC_TYPE_UINTPTR_T

is:

1) When the types exist:

checking for uint8_t... uint8_t
checking for uint16_t... uint16_t
checking for uint32_t... uint32_t
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for uintptr_t... yes

Suggestion: change the first three lines to

checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes

It'd be more consistent with the printout of other autoconf tests.

2) And when the types do not exist, such as on Solaris 2.5.1, the output is:

checking for uint8_t... unsigned char
checking for uint16_t... unsigned short int
checking for uint32_t... unsigned int
checking for unsigned long long int... yes
checking for uintmax_t... no
checking for uintptr_t... no

Since the macros arrange for uintmax_t and uintptr_t to be present, it
would be more consistent to change the last two lines to include the
value that is put into config.h, namely:

checking for uintmax_t... unsigned long long int
checking for uintptr_t... unsigned int

Bruno


Reply via email to