]> Dogcows Code - chaz/tar/commitdiff
(jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Sep 2001 17:53:12 +0000 (17:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Sep 2001 17:53:12 +0000 (17:53 +0000)
as those declarations are made even in the unsigned case.

m4/xstrtoumax.m4

index d1ece9b5df4ed41722c60070958ae078929f9faa..9ab71ec6dd4b26268bc8bab9faf2b2860f0ad172 100644 (file)
@@ -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],
This page took 0.025519 seconds and 4 git commands to generate.