瀏覽代碼

Merge pull request #5436 from acozzette/fix-sched-yield

Removed configure check for sched_yield
Adam Cozzette 6 年之前
父節點
當前提交
a77b867bd2
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      configure.ac

+ 0 - 9
configure.ac

@@ -205,15 +205,6 @@ AM_CONDITIONAL([HAVE_PTHREAD], [test "x$ax_pthread_ok" = "xyes"])
 # We still keep this for improving pbconfig.h for unsupported platforms.
 AC_CXX_STL_HASH
 
-case "$target_os" in
-  mingw* | cygwin* | win* | aix* | *android* )
-    ;;
-  *)
-    # Need to link against rt on Solaris
-    AC_SEARCH_LIBS([sched_yield], [rt], [], [AC_MSG_FAILURE([sched_yield was not found on your system])])
-    ;;
-esac
-
 # Enable ObjC support for conformance directory on OS X.
 OBJC_CONFORMANCE_TEST=0
 case "$target_os" in