From: Jim Meyering Date: Wed, 6 Dec 2000 09:35:40 +0000 (+0000) Subject: (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38fbb60b6cd42d792ecb80f76fc4a06a22bf0933;p=pspp (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 index 7899ca1305..a5a06eb52b 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