changeset 3029:6fc816f1351c

(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement strtoull, we may well need the replacement strtoul, too.
author Jim Meyering <jim@meyering.net>
date Wed, 06 Dec 2000 09:35:40 +0000
parents 4c7d0d5cf023
children a5643c597857
files m4/xstrtoumax.m4
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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