[PATCH 7/9] autoconf: Check for setitimer
- From
Jonas 'Sortie' Termansen <sortie@maxsi.org>
- Date
- Aug 28, 2014, 01:04 UTC
- Message-ID
- <1409187862-21257-8-git-send-email-sortie@maxsi.org>
- In-Reply-To
- <1409187862-21257-1-git-send-email-sortie@maxsi.org>
The makefile has provisions for this case, so let's detect it in the configure script as well.
Signed-off-by: Jonas 'Sortie' Termansen <sortie@maxsi.org> --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac index 3c64251..89eb48f 100644 --- a/configure.ac +++ b/configure.ac @@ -939,6 +939,12 @@ AC_CHECK_LIB([iconv], [locale_charset], [CHARSET_LIB=-lcharset])]) GIT_CONF_SUBST([CHARSET_LIB]) # +# Define NO_SETITIMER if you don't have setitimer. +GIT_CHECK_FUNC(setitimer, +[NO_SETITIMER=], +[NO_SETITIMER=YesPlease]) +GIT_CONF_SUBST([NO_SETITIMER]) +# # Define NO_STRCASESTR if you don't have strcasestr. GIT_CHECK_FUNC(strcasestr, [NO_STRCASESTR=],
-- 2.1.0