* doc/autoconf.texi (C Compiler) <AC_C_CHAR_UNSIGNED>: Mention a
portable alternative to this macro.
* THANKS: Update.
Reported by Hallvard B Furuseth.
Signed-off-by: Eric Blake <ebb9@byu.net>
2008-08-06 Eric Blake <ebb9@byu.net>
+ AC_C_CHAR_UNSIGNED is not strictly necessary.
+ * doc/autoconf.texi (C Compiler) <AC_C_CHAR_UNSIGNED>: Mention a
+ portable alternative to this macro.
+ * THANKS: Update.
+ Reported by Hallvard B Furuseth.
+
Update some files from upstream.
* GNUmakefile: Update.
* build-aux/announce-gen: Likewise.
H. Merijn Brand h.m.brand@hccnet.nl
H. Peter Anvin ?
H.J. Lu hjl@gnu.org
+Hallvard B Furuseth h.b.furuseth@usit.uio.no
Hans Aberg haberg@math.su.se
Hans Olsson Hans.Olsson@dna.lth.se
Hans Ulrich Niedermann hun@n-dimensional.de
@cvindex __CHAR_UNSIGNED__
If the C type @code{char} is unsigned, define @code{__CHAR_UNSIGNED__},
unless the C compiler predefines it.
+
+These days, using this macro is not necessary. The same information can
+be determined by this portable alternative, thus avoiding the use of
+preprocessor macros in the namespace reserved for the implementation.
+
+@example
+#include <limits.h>
+#if CHAR_MIN == 0
+# define CHAR_UNSIGNED 1
+#endif
+@end example
@end defmac
@defmac AC_C_STRINGIZE