separate conditions for strtoul and strtoull

This commit is contained in:
Jim Meyering committed 2000-12-06 10:26:51 +00:00
1 parent 2845214164
commit 3dabe6b533
1 file changed
+7 -1
+7 -1
View File
@@ -28,7 +28,13 @@ 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 strtoull)
AC_REPLACE_FUNCS(strtoull)
;;
esac
case "$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
no,no)
AC_REPLACE_FUNCS(strtoul)
;;
esac