configure: Remove the CLOCK_MONOTONIC_PRECISE probe
authorBart Van Assche <bvanassche@acm.org>
Mon, 7 Sep 2020 23:03:12 +0000 (16:03 -0700)
committerBart Van Assche <bvanassche@acm.org>
Sun, 20 Sep 2020 18:30:34 +0000 (11:30 -0700)
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 <bvanassche@acm.org>
configure

index 12b7cb58b47e237763a87ab43b193731a1986500..2d6588ae3d61cce2a25f49e2604c29566f133615 100755 (executable)
--- 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 <stdio.h>
-#include <time.h>
-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