From 570074d6d1f8cfcdea89628f60817d29431e163f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 6 Dec 2000 09:35:40 +0000 Subject: (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement strtoull, we may well need the replacement strtoul, too. --- m4/xstrtoumax.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm4/xstrtoumax.m4') 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 -- cgit v1.2.3-54-g00ecf