From: Brendan Shanks bshanks@codeweavers.com
All our supported macOS versions (10.12 and newer) now have clock_gettime(). This reverts commit 5ddcfa019d027d9d690c98151c708eb4e7d5f72b. --- configure.ac | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac index bd6b1eefa99..734a4368c70 100644 --- a/configure.ac +++ b/configure.ac @@ -2110,15 +2110,11 @@ AC_CHECK_FUNCS(\ CFLAGS="$ac_save_CFLAGS"
dnl Check for clock_gettime which may be in -lrt -case $host_os in - darwin*|macosx*) ;; - *) ac_save_LIBS=$LIBS - AC_SEARCH_LIBS(clock_gettime, rt, - [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define to 1 if you have the 'clock_gettime' function.]) +ac_save_LIBS=$LIBS +AC_SEARCH_LIBS(clock_gettime, rt, + [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define to 1 if you have the `clock_gettime' function.]) test "$ac_res" = "none required" || AC_SUBST(RT_LIBS,"$ac_res")]) - LIBS=$ac_save_LIBS - ;; -esac +LIBS=$ac_save_LIBS
AC_CACHE_CHECK([for sched_setaffinity],wine_cv_have_sched_setaffinity, AC_LINK_IFELSE([AC_LANG_PROGRAM(