From: Bart Van Assche Date: Mon, 7 Sep 2020 23:03:12 +0000 (-0700) Subject: configure: Remove the CLOCK_MONOTONIC_PRECISE probe X-Git-Tag: fio-3.24~21^2~8 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=187f39063e1b0a7baeda20a9f4f2406327ec0d41;p=fio.git 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 --- 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