Mercurial > hg > octave-nkf > gnulib-hg
changeset 3528:a85ecc69fc4b
* xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
Check for strtoul and strtoumax,
as those declarations are made even in the signed case.
* xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
Likewise, for strtol and strtoimax.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 28 Sep 2001 19:37:38 +0000 |
parents | 90b0b3cd6fc7 |
children | 981c106235e9 |
files | m4/xstrtoimax.m4 m4/xstrtoumax.m4 |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/xstrtoimax.m4 +++ b/m4/xstrtoimax.m4 @@ -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_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],
--- 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_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],