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

Removed configure check for sched_yield
pull/5446/head
Adam Cozzette 6 years ago committed by GitHub
commit a77b867bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 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. # We still keep this for improving pbconfig.h for unsupported platforms.
AC_CXX_STL_HASH 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. # Enable ObjC support for conformance directory on OS X.
OBJC_CONFORMANCE_TEST=0 OBJC_CONFORMANCE_TEST=0
case "$target_os" in case "$target_os" in

Loading…
Cancel
Save