diff --git a/configure.ac b/configure.ac index 22630ba..2d745d8 100644 --- a/configure.ac +++ b/configure.ac @@ -183,7 +183,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( ) AC_MSG_CHECKING(for a working clock_getres(CLOCK_MONOTONIC, &ts)) -AC_RUN_IFELSE([AC_LANG_PROGRAM( +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[#include ]], [[struct timespec ts; if(clock_getres(CLOCK_MONOTONIC, &ts)) return -1;]])], [