view modules/strtoimax @ 37201:8660fad5c0ba

strtoumax: fix typo in previous commit. Tom G. Christensen reported: > I see this in the configure output: > ./configure: line 7680: test: =: unary operator expected > > $ sed -n 7680p configure > if test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; then and indeed, we're only setting HAVE_DECL_STRTOUMAX. * modules/strtoumax (Depends-on): Fix typo. * modules/strtoimax (Depends-on): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 10 Oct 2013 12:24:59 -0600
parents c28fa095fda7
children 87fe74e42df8
line wrap: on
line source

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_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
stdint          [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
strtoll         [{ test $HAVE_DECL_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