summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJonas 'Sortie' Termansen <sortie@maxsi.org>2014-08-29 16:42:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-08-29 17:45:32 (GMT)
commita6fd4fb55d255ae14dc3ced5eae6247b4a9d86ea (patch)
tree19921e7b266ed8d36936d12aacc4fe179b5faa29 /configure.ac
parent6441090cf234b88c2fdbb9cd754714108fd57755 (diff)
downloadgit-a6fd4fb55d255ae14dc3ced5eae6247b4a9d86ea.zip
git-a6fd4fb55d255ae14dc3ced5eae6247b4a9d86ea.tar.gz
git-a6fd4fb55d255ae14dc3ced5eae6247b4a9d86ea.tar.bz2
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 <sortie@maxsi.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 652bfdd..6af9647 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=],