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:
parent
34f8c26e93
commit
72914c567f
3 changed files with 63 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue