Check for declarations of strtoul and strtoull.
authorJim Meyering <jim@meyering.net>
Wed, 6 Dec 2000 10:52:28 +0000 (10:52 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 6 Dec 2000 10:52:28 +0000 (10:52 +0000)
m4/xstrtoumax.m4

index 1befbdd8dfa01f65e6cd84fab31e89367d3573d3..279727623918f4c6973c005c2fa2a8701a4e5cc9 100644 (file)
@@ -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],