From: Jonas 'Sortie' Termansen Date: Fri, 29 Aug 2014 16:42:35 +0000 (-0700) Subject: autoconf: check for setitimer() X-Git-Tag: v2.2.0-rc0~67^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a6fd4fb55d255ae14dc3ced5eae6247b4a9d86ea autoconf: check for setitimer() The Makefile has provisions for this case, so let's detect it in the configure script as well. Signed-off-by: Jonas 'Sortie' Termansen Signed-off-by: Junio C Hamano --- diff --git a/configure.ac b/configure.ac index 652bfdddb2..6af964797f 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=],