From: Brian 'Redbeard' Harrington Date: Fri, 22 Jan 2021 03:10:48 +0000 (-0800) Subject: configure: ESX does not have timerfd support X-Git-Tag: fio-3.26~59^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ffaaf8ab9331668c664c0d6084a90a8a29cf3285;p=fio.git configure: ESX does not have timerfd support Running fio on an ESX host fails due to the lack of support for file descriptor based notifications of timer expiration. This change bypasses patch 696378af added to increase timer accuracy. Signed-off-by: Brian 'Redbeard' Harrington --- diff --git a/configure b/configure index 1306f1b3..e6e33d7f 100755 --- a/configure +++ b/configure @@ -2695,6 +2695,7 @@ print_config "Windows PDB generation" "$pdb" ########################################## # check for timerfd support timerfd_create="no" +if test "$esx" != "yes" ; then cat > $TMPC << EOF #include #include @@ -2704,8 +2705,9 @@ int main(int argc, char **argv) return timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); } EOF -if compile_prog "" "" "timerfd_create"; then - timerfd_create="yes" + if compile_prog "" "" "timerfd_create"; then + timerfd_create="yes" + fi fi print_config "timerfd_create" "$timerfd_create"