[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_TYPE_UINT8_T and co
From: |
Paul Eggert |
Subject: |
Re: AC_TYPE_UINT8_T and co |
Date: |
Mon, 28 May 2007 22:39:36 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Patrick Welche <address@hidden> writes:
> -- 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)
The simplest fix is to change the documentation to match the current
behavior, so I installed the following. If there's a good reason to
change the behavior instead, please let us know. Traditions seem to
vary in this area in Autoconf. Among Autoconf-using programs, I
suspect gnulib's stdint module makes this macro obsolescent anyway, so
I'd rather not futz with it if I can avoid it.
2007-05-28 Paul Eggert <address@hidden>
* doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
define HAVE_INT8_T, and likewise for similar macros.
Problem reported by Patrick Welche in
<http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
--- doc/autoconf.texi 21 May 2007 22:42:12 -0000 1.1157
+++ doc/autoconf.texi 29 May 2007 05:36:24 -0000
@@ -5907,8 +5907,8 @@ is the base type of the array argument t
@acindex{TYPE_INT8_T}
@cvindex HAVE_INT8_T
@cvindex int8_t
-If @file{stdint.h} or @file{inttypes.h} defines the type @code{int8_t},
-define @code{HAVE_INT8_T}. Otherwise, define @code{int8_t} to a signed
+If @file{stdint.h} or @file{inttypes.h} does not define the type
address@hidden, define @code{int8_t} to a signed
integer type that is exactly 8 bits wide and that uses two's complement
representation, if such a type exists.
@end defmac
@@ -6056,8 +6056,8 @@ headers do not define them.
@acindex{TYPE_UINT8_T}
@cvindex HAVE_UINT8_T
@cvindex uint8_t
-If @file{stdint.h} or @file{inttypes.h} defines the type @code{uint8_t},
-define @code{HAVE_UINT8_T}. Otherwise, define @code{uint8_t} to an
+If @file{stdint.h} or @file{inttypes.h} does not define the type
address@hidden, define @code{uint8_t} to an
unsigned integer type that is exactly 8 bits wide, if such a type
exists.
@end defmac
- Re: AC_TYPE_UINT8_T and co,
Paul Eggert <=