From: Paul Eggert Date: Fri, 28 Sep 2001 17:53:12 +0000 (+0000) Subject: (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax, X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=06384f1deff90a6b062448ddf83516986baeeb61;p=chaz%2Ftar (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax, as those declarations are made even in the signed case. --- diff --git a/m4/xstrtoimax.m4 b/m4/xstrtoimax.m4 index 9664a60..438e852 100644 --- a/m4/xstrtoimax.m4 +++ b/m4/xstrtoimax.m4 @@ -1,4 +1,4 @@ -#serial 1 +#serial 2 dnl Cloned from xstrtoumax.m4. Keep these files in sync. # autoconf tests required for use of xstrtoimax.c @@ -9,7 +9,7 @@ AC_DEFUN([jm_AC_PREREQ_XSTRTOIMAX], 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([strtol, strtoll, strtoimax]) + AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoimax, strtoumax]) AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h) AC_CACHE_CHECK([whether defines strtoimax as a macro],