test for pthread_mutex_timedlock() availability in configure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-13 22:37:26 +00:00
parent 8c58338193
commit e55a667c1c
5 changed files with 116 additions and 409 deletions

View File

@@ -5308,6 +5308,10 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
AC_DEFINE(HAVE_PTHREAD_CANCEL),
AC_MSG_WARN([wxThread::Kill() will not work properly]))
AC_CHECK_FUNC(pthread_mutex_timedlock,
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK),
AC_MSG_WARN([wxMutex::LockTimeout() will not work]))
AC_CHECK_FUNC(pthread_attr_setstacksize,
AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE))