From 187f39063e1b0a7baeda20a9f4f2406327ec0d41 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 7 Sep 2020 16:03:12 -0700 Subject: [PATCH] configure: Remove the CLOCK_MONOTONIC_PRECISE probe CLOCK_MONOTONIC_PRECISE is not used in the fio source code. Hence use the probe for that constant. The removed test was introduced by commit 67bf982340d9 ("Add configure script"). Signed-off-by: Bart Van Assche --- configure | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/configure b/configure index 12b7cb58..2d6588ae 100755 --- a/configure +++ b/configure @@ -1124,26 +1124,6 @@ EOF fi print_config "CLOCK_MONOTONIC_RAW" "$clock_monotonic_raw" -########################################## -# CLOCK_MONOTONIC_PRECISE probe -if test "$clock_monotonic_precise" != "yes" ; then - clock_monotonic_precise="no" -fi -if test "$clock_gettime" = "yes" ; then - cat > $TMPC << EOF -#include -#include -int main(int argc, char **argv) -{ - return clock_gettime(CLOCK_MONOTONIC_PRECISE, NULL); -} -EOF - if compile_prog "" "$LIBS" "clock monotonic precise"; then - clock_monotonic_precise="yes" - fi -fi -print_config "CLOCK_MONOTONIC_PRECISE" "$clock_monotonic_precise" - ########################################## # clockid_t probe if test "$clockid_t" != "yes" ; then -- 2.25.1