From 9957263ec462ed926d9d751fc549cd4ddffe3335 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 20 Sep 2001 18:01:32 +0000
Subject: [PATCH] From Jim Meyering (jm_AC_PREREQ_XSTRTOUMAX): Check for
 declaration of strtoumax

---
 m4/xstrtoumax.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4
index 7ea69a92..d1ece9b5 100644
--- a/m4/xstrtoumax.m4
+++ b/m4/xstrtoumax.m4
@@ -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])
+  AC_CHECK_DECLS([strtoul, strtoull, strtoumax])
   AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h)
 
   AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],
-- 
GitLab