From: Jacob Keller Date: Fri, 29 Aug 2014 16:42:35 GMT Subject: [PATCH 3/9] autoconf: Check for setitimer Message-ID: <1409330561-11806-3-git-send-email-jacob.e.keller@intel.com> In-Reply-To: <1409330561-11806-1-git-send-email-jacob.e.keller@intel.com> From: Jonas 'Sortie' Termansen The makefile has provisions for this case, so let's detect it in the configure script as well. Signed-off-by: Jonas 'Sortie' Termansen --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 652bfdddb2a9..6af964797f7b 100644 --- a/configure.ac +++ b/configure.ac @@ -911,6 +911,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.0.1.475.g9b8d714