summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2020-09-07 16:03:12 -0700
committerBart Van Assche <bvanassche@acm.org>2020-09-20 11:30:34 -0700
commit187f39063e1b0a7baeda20a9f4f2406327ec0d41 (patch)
tree9af6452cbe03a3897872e19efb7e372df345c13c /configure
parent7064f8942a3b8070acf60b8e5fabc16f8221ae40 (diff)
downloadfio-187f39063e1b0a7baeda20a9f4f2406327ec0d41.tar.gz
fio-187f39063e1b0a7baeda20a9f4f2406327ec0d41.tar.bz2
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 <bvanassche@acm.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 0 insertions, 20 deletions
diff --git a/configure b/configure
index 12b7cb58..2d6588ae 100755
--- a/configure
+++ b/configure
@@ -1125,26 +1125,6 @@ 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
clockid_t="no"