summaryrefslogtreecommitdiff
path: root/m4/xstrtoumax.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-06 09:35:40 +0000
committerJim Meyering <jim@meyering.net>2000-12-06 09:35:40 +0000
commit570074d6d1f8cfcdea89628f60817d29431e163f (patch)
treeeb774aa03252ea6776a0cb2d84938a32efc669bb /m4/xstrtoumax.m4
parent72a6d74ab25c617a4b02e65ec945dad80f977095 (diff)
downloadcoreutils-570074d6d1f8cfcdea89628f60817d29431e163f.tar.xz
(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
strtoull, we may well need the replacement strtoul, too.
Diffstat (limited to 'm4/xstrtoumax.m4')
-rw-r--r--m4/xstrtoumax.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4
index 7899ca130..a5a06eb52 100644
--- a/m4/xstrtoumax.m4
+++ b/m4/xstrtoumax.m4
@@ -1,4 +1,4 @@
-#serial 2
+#serial 3
# autoconf tests required for use of xstrtoumax.c
@@ -28,6 +28,7 @@ AC_DEFUN(jm_AC_PREREQ_XSTRTOUMAX,
dnl so we need the replacement strtoull only if strtoumax does not exist.
case "$ac_cv_type_unsigned_long_long,$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
yes,no,no)
+ AC_REPLACE_FUNCS(strtoul)
AC_REPLACE_FUNCS(strtoull)
;;
esac