]> Dogcows Code - chaz/tar/commitdiff
(jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax,
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 signed case.

m4/xstrtoimax.m4

index 9664a603b1b04c3bd74c4e04013264ccebe7ba41..438e8528d7756d555b1f7d1fb6475dc183b4e7f1 100644 (file)
@@ -1,4 +1,4 @@
-#serial 1
+#serial 2
 dnl Cloned from xstrtoumax.m4.  Keep these files in sync.
 
 # autoconf tests required for use of xstrtoimax.c
@@ -9,7 +9,7 @@ AC_DEFUN([jm_AC_PREREQ_XSTRTOIMAX],
   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([strtol, strtoll, strtoimax])
+  AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoimax, strtoumax])
   AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h)
 
   AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
This page took 0.022633 seconds and 4 git commands to generate.