# HG changeset patch # User Jim Meyering # Date 976095340 0 # Node ID 6fc816f1351cfcb2f2da3b9a11d9b6afe9fa31b2 # Parent 4c7d0d5cf023bb5b233d433ec3b104c42a3ac84e (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement strtoull, we may well need the replacement strtoul, too. diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4 --- 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 @@ 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