Hash :
24bfc89c
Author :
Date :
2011-09-02T01:36:31
strtoumax: Avoid link error on OSF/1 with DTK cc. * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Always test whether strtoumax is defined as a function. * modules/strtoumax (Depends-on, configure.ac): Test only whether strtoumax is defined, not whether it is declared.
Description:
strtoumax() function: convert string to 'uintmax_t'.
Files:
lib/strtoimax.c
lib/strtoumax.c
m4/longlong.m4
m4/strtoumax.m4
Depends-on:
inttypes-incomplete
verify [test $ac_cv_func_strtoumax = no]
stdint [test $ac_cv_func_strtoumax = no]
strtoull [test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes]
configure.ac:
gl_FUNC_STRTOUMAX
if test $ac_cv_func_strtoumax = no; then
AC_LIBOBJ([strtoumax])
gl_PREREQ_STRTOUMAX
fi
gl_INTTYPES_MODULE_INDICATOR([strtoumax])
Makefile.am:
Include:
<inttypes.h>
License:
LGPL
Maintainer:
Paul Eggert