(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
authorJim Meyering <jim@meyering.net>
Wed, 6 Dec 2000 09:35:40 +0000 (09:35 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 6 Dec 2000 09:35:40 +0000 (09:35 +0000)
strtoull, we may well need the replacement strtoul, too.

m4/xstrtoumax.m4

index 7899ca130595e55ee3527b9f4d45ca93464d8e61..a5a06eb52b3de22d9a4cd6ca815b2278bf83f825 100644 (file)
@@ -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