Hash :
82f7e927
Author :
Date :
2012-01-28T13:31:06
strtoimax: eliminate need for stdint.h, inttypes.h checks * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Don't use gl_AC_HEADER_STDINT_H or gl_AC_HEADER_INTTYPES_H. This reduces the prerequisites for a recently-introduced strtoimax test. I guess this might cause strtoimax to be replaced when not strictly necessary on older hosts, but this shouldn't introduce any bugs and it should make Emacs 'configure' faster on typical modern hosts. Problem discovered when importing the latest gnulib to an Emacs test version. * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4.
Description:
strtoimax() function: convert string to 'intmax_t'.
Files:
lib/strtoimax.c
m4/strtoimax.m4
m4/longlong.m4
Depends-on:
inttypes-incomplete
verify [test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
stdint [test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
strtoll [{ test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; } && test $ac_cv_type_long_long_int = yes]
configure.ac:
gl_FUNC_STRTOIMAX
if test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then
AC_LIBOBJ([strtoimax])
gl_PREREQ_STRTOIMAX
fi
gl_INTTYPES_MODULE_INDICATOR([strtoimax])
Makefile.am:
Include:
<inttypes.h>
License:
LGPL
Maintainer:
Paul Eggert