From 06384f1deff90a6b062448ddf83516986baeeb61 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 28 Sep 2001 17:53:12 +0000 Subject: [PATCH] (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax, as those declarations are made even in the signed case. --- m4/xstrtoimax.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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], -- 2.45.2