view modules/strtoimax @ 15118:50a0061f67fe

strtoimax: Move AC_LIBOBJ invocations to module description. * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOIMAX invocations from here... * modules/strtoimax (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 14:16:25 +0200
parents bee5156af6aa
children d67698854fea
line wrap: on
line source

Description:
strtoimax() function: convert string to 'intmax_t'.

Files:
lib/strtoimax.c
m4/longlong.m4
m4/strtoimax.m4

Depends-on:
inttypes-incomplete
verify          [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no]
stdint          [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no]
strtoll         [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes]

configure.ac:
gl_FUNC_STRTOIMAX
if test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no; then
  AC_LIBOBJ([strtoimax])
  gl_PREREQ_STRTOIMAX
fi
gl_INTTYPES_MODULE_INDICATOR([strtoimax])

Makefile.am:

Include:
<inttypes.h>

License:
LGPL

Maintainer:
Paul Eggert