HAVE_SCHED_H test added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-03-06 00:31:05 +00:00
parent 34f8c26e93
commit 72914c567f
3 changed files with 63 additions and 15 deletions

View file

@ -1434,6 +1434,9 @@ fi
dnl do other tests only if we are using threads
if test "$wxUSE_THREADS" = "1"; then
THREADS_LINK2=""
AC_CHECK_HEADERS(sched.h)
AC_CHECK_LIB($THREADS_LINK, sched_yield,
AC_DEFINE(HAVE_SCHED_YIELD),
[AC_CHECK_LIB("posix4", sched_yield,