From: Paul Eggert Date: Fri, 28 Sep 2001 17:53:12 +0000 (+0000) Subject: (jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax, X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=88711e3972944ed39056740304c2dc38f3079e64;p=chaz%2Ftar (jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax, as those declarations are made even in the unsigned case. --- diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4 index d1ece9b..9ab71ec 100644 --- a/m4/xstrtoumax.m4 +++ b/m4/xstrtoumax.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 # autoconf tests required for use of xstrtoumax.c @@ -8,7 +8,7 @@ AC_DEFUN([jm_AC_PREREQ_XSTRTOUMAX], AC_REQUIRE([jm_AC_TYPE_UINTMAX_T]) AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) - AC_CHECK_DECLS([strtoul, strtoull, strtoumax]) + AC_CHECK_DECLS([strtol, strtoul, strtoull, strtoimax, strtoumax]) AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h) AC_CACHE_CHECK([whether defines strtoumax as a macro],