summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-06 10:52:28 +0000
committerJim Meyering <jim@meyering.net>2000-12-06 10:52:28 +0000
commit69ed54e54461c36b28a9e6c1c59b1a66e9c745f2 (patch)
treeaf3c67dc772f5ebc50161010492da214d6a578e5 /m4
parent3dabe6b533905bb65e4dd832d046cc86bba46743 (diff)
downloadcoreutils-69ed54e54461c36b28a9e6c1c59b1a66e9c745f2.tar.xz
Check for declarations of strtoul and strtoull.
Diffstat (limited to 'm4')
-rw-r--r--m4/xstrtoumax.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4
index 1befbdd8d..279727623 100644
--- a/m4/xstrtoumax.m4
+++ b/m4/xstrtoumax.m4
@@ -7,6 +7,7 @@ AC_DEFUN(jm_AC_PREREQ_XSTRTOUMAX,
AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_CHECK_DECLS([strtoul, strtoull])
AC_CHECK_HEADERS(stdlib.h)
AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],