strtoimax: Work around AIX 5.1 bug.
authorBruno Haible <bruno@clisp.org>
Thu, 5 Jan 2012 17:47:38 +0000 (18:47 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 5 Jan 2012 17:47:38 +0000 (18:47 +0100)
commit0b030ddbeca588c1ba13653c6c926348a98f57c6
treeee64be2b921e16e500c71f0ea4ee2a174da53fe7
parent051f3f4e306c6f6ede3da2729ef666fd3edb3d68
strtoimax: Work around AIX 5.1 bug.

* lib/inttypes.in.h (strtoimax): Allow overriding the system's
definition.
* m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Check against the AIX 5.1 bug.
Set HAVE_STRTOIMAX.
* m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Initialize
REPLACE_STRTOIMAX.
* modules/inttypes-incomplete (Makefile.am): Substitute
REPLACE_STRTOIMAX.
* modules/strtoimax (Files): Add m4/stdint_h.m4, m4/inttypes_h.m4.
(configure.ac): Test HAVE_STRTOIMAX, REPLACE_STRTOIMAX.
(Depends-on): Update conditions.
* tests/test-strtoimax.c (main): Add tests for large values.
* doc/posix-functions/strtoimax.texi: Mention the AIX 5.1 bug.
ChangeLog
doc/posix-functions/strtoimax.texi
lib/inttypes.in.h
m4/inttypes.m4
m4/strtoimax.m4
modules/inttypes-incomplete
modules/strtoimax
tests/test-strtoimax.c