[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_TYPE_UINT8_T and co
From: |
Patrick Welche |
Subject: |
AC_TYPE_UINT8_T and co |
Date: |
Mon, 28 May 2007 17:45:46 +0100 |
User-agent: |
Mutt/1.5.14 (2007-03-22) |
-- Macro: AC_TYPE_UINT8_T
If `stdint.h' or `inttypes.h' defines the type `uint8_t', define
`HAVE_UINT8_T'. Otherwise, define `uint8_t' to an unsigned
integer type that is exactly 8 bits wide, if such a type exists.
but for some reason HAVE_UINT8_T is not defined! (Today's CVS)
% cat configure.ac
AC_INIT([autotype],[1.0])
AC_CONFIG_HEADERS([config.h])
AC_TYPE_UINT8_T
AC_OUTPUT
% autoreconf
% ./configure
...
checking for uint8_t... yes
...
config.status: creating config.h
% grep UINT config.h
/* #undef _UINT8_T */
The attached patch fixes this..
(Also removes what appear to be spurious #( )
Also, AC_TYPE_SIZE_T does not claim to define HAVE_SIZE_T, (as it
uses _AC_CHECK_TYPE_OLD) - would defining HAVE_SIZE_T be considered
an improvement?
Cheers,
Patrick
autotype.diff
Description: Text document
- AC_TYPE_UINT8_T and co,
Patrick Welche <=
- Re: AC_TYPE_UINT8_T and co, Eric Blake, 2007/05/28
- Re: AC_TYPE_UINT8_T and co, Stepan Kasal, 2007/05/28
- Re: AC_TYPE_UINT8_T and co, Patrick Welche, 2007/05/29
- Re: AC_TYPE_UINT8_T and co, Patrick Welche, 2007/05/29
- Message not available
- Re: AC_TYPE_UINT8_T and co, Patrick Welche, 2007/05/29
- Re: AC_TYPE_UINT8_T and co, Paul Eggert, 2007/05/29
- Re: AC_TYPE_UINT8_T and co, Stepan Kasal, 2007/05/30
- Re: AC_TYPE_UINT8_T and co, Patrick Welche, 2007/05/30
- Re: AC_TYPE_UINT8_T and co, Stepan Kasal, 2007/05/30