From: Darren Tucker Date: Mon, 18 May 2020 10:03:52 GMT Subject: [PATCH 3/7] Test for strtoull in configure. Message-ID: <20200518100356.29292-3-dtucker@dtucker.net> In-Reply-To: <20200518100356.29292-1-dtucker@dtucker.net> It's already used in compat/strtoimax.c Signed-off-by: Darren Tucker --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 4effc82b76..14e09b04b6 100644 --- a/configure.ac +++ b/configure.ac @@ -1158,6 +1158,12 @@ AC_CHECK_TYPE(uintmax_t, ]) GIT_CONF_SUBST([NO_UINTMAX_T]) # +# Define NO_STRTOULL if you don't have strtoull in the C library. +GIT_CHECK_FUNC(strtoull, +[NO_STRTOULL=], +[NO_STRTOULL=YesPlease]) +GIT_CONF_SUBST([NO_STRTOULL]) +# # Define NO_STRTOUMAX if you don't have strtoumax in the C library. GIT_CHECK_FUNC(strtoumax, [NO_STRTOUMAX=], -- 2.21.3