summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2001-09-28 17:53:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2001-09-28 17:53:12 +0000
commit88711e3972944ed39056740304c2dc38f3079e64 (patch)
treed44a1468f845a08a07da0bed06148b289e9f16b0
parent06384f1deff90a6b062448ddf83516986baeeb61 (diff)
downloadtar-88711e3972944ed39056740304c2dc38f3079e64.tar.gz
(jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,
as those declarations are made even in the unsigned case.
-rw-r--r--m4/xstrtoumax.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4
index d1ece9b5..9ab71ec6 100644
--- a/m4/xstrtoumax.m4
+++ b/m4/xstrtoumax.m4
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
# autoconf tests required for use of xstrtoumax.c
@@ -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, strtoumax])
+ AC_CHECK_DECLS([strtol, strtoul, strtoull, strtoimax, strtoumax])
AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h)
AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],