strtoimax, strtoumax: port to HP-UX 11.11
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Oct 2013 15:05:24 +0000 (08:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Oct 2013 15:05:45 +0000 (08:05 -0700)
commit0fd639d16c41dfd4353947fa00bbfa2375e7e845
treec950e317e217ce57b01516e87ef8d273b9b785e7
parent249e955142d9ceaaeba6240bbaaf618487008915
strtoimax, strtoumax: port to HP-UX 11.11

Problem reported by Daniel Richard G. in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00023.html>.
* lib/inttypes.in.h (strtoumax): Replace strtoumax if
REPLACE_STRTOUMAX, thus treating it consistently with strtoimax.
* m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Add default for
REPLACE_STRTOUMAX.
* m4/strtoimax.m4 (gl_FUNC_STRTOIMAX):
* m4/strtoumax.m4 (gl_FUNC_STRTOUMAX):
Replace the function if defined as a macro but not as a function.
* modules/inttypes-incomplete (inttypes.h): Substitute
REPLACE_STRTOUMAX.
* modules/strtoumax (configure.ac): Replace strtoumax if
REPLACE_STRTOUMAX.
ChangeLog
lib/inttypes.in.h
m4/inttypes.m4
m4/strtoimax.m4
m4/strtoumax.m4
modules/inttypes-incomplete
modules/strtoumax