]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
configure.ac: check for clock_gettime and CLOCK_MONOTONIC
authorReuben Hawkins <reubenhwk@gmail.com>
Thu, 8 Jan 2015 20:00:56 +0000 (12:00 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Jan 2015 23:33:39 +0000 (15:33 -0800)
commita6c3c638acea34116c6be7cc4be41a9bc55a7fa1
treeb1921a1fdacdf8d6e27ff9db1c9e60be16046ffc
parent8bd2c972b1e2343620cad5b0f56de0f2524b7564
configure.ac: check for clock_gettime and CLOCK_MONOTONIC

Set or clear Makefile variables HAVE_CLOCK_GETTIME and
HAVE_CLOCK_MONOTONIC based upon results of the checks (overriding
default values from config.mak.uname).

CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
systems being used in production.

Signed-off-by: Reuben Hawkins <reubenhwk@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.uname
configure.ac
trace.c