diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-10 02:04:27 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-10 02:04:27 +0000 |
commit | 88a4f5c18eb75aa1c1148fe6de9569e2850524dc (patch) | |
tree | f49125f56f08b0fe47e51ed33b57776b4ef33ce9 /configure.in | |
parent | 2fe6c72e7152ccdae01bf6397cecdf8192a74c0a (diff) | |
download | ATCD-88a4f5c18eb75aa1c1148fe6de9569e2850524dc.tar.gz |
ChangeLogTag:Thu Dec 9 19:55:58 1999 Ossama Othman
<othman@cs.wustl.edu>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 946bec1eb61..9e7ff8b1087 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl dnl $Id$ -AC_REVISION($Revision 0.71 $)dnl +AC_REVISION($Revision 0.72 $)dnl dnl dnl An autoconf script to automatically configure ACE. @@ -4205,6 +4205,40 @@ dnl section if it is in another library. dnl AC_CHECK_FUNC(sched_yield,,) dnl dnl We already check for this during the library checks. +dnl Check for Unix98 pthreads extensions + ACE_CHECK_STRUCT(pthread_rwlock_t,,)dnl + ACE_CHECK_STRUCT(pthread_rwlockattr_t,,)dnl + AC_CHECK_FUNC(pthread_continue,,)dnl + AC_CHECK_FUNC(pthread_suspend,,)dnl + AC_CHECK_FUNC(pthread_rwlock_init,,)dnl + AC_CHECK_FUNC(pthread_rwlock_destroy,,)dnl + AC_CHECK_FUNC(pthread_rwlock_rdlock,,)dnl + AC_CHECK_FUNC(pthread_rwlock_wrlock,,)dnl + AC_CHECK_FUNC(pthread_rwlock_unlock,,)dnl + AC_CHECK_FUNC(pthread_rwlock_tryrdlock,,)dnl + AC_CHECK_FUNC(pthread_rwlock_trywrlock,,)dnl + AC_CHECK_FUNC(pthread_rwlockattr_init,,)dnl + AC_CHECK_FUNC(pthread_rwlockattr_destroy,,)dnl + AC_CHECK_FUNC(pthread_rwlockattr_setpshared,,)dnl + + if test "$ace_cv_struct_pthread_rwlock_t" = yes && + test "$ace_cv_struct_pthread_rwlockattr_t" = yes && + test "$ac_cv_func_pthread_continue" = yes && + test "$ac_cv_func_pthread_continue" = yes && + test "$ac_cv_func_pthread_suspend" = yes && + test "$ac_cv_func_pthread_rwlock_init" = yes && + test "$ac_cv_func_pthread_rwlock_destroy" = yes && + test "$ac_cv_func_pthread_rwlock_rdlock" = yes && + test "$ac_cv_func_pthread_rwlock_wrlock" = yes && + test "$ac_cv_func_pthread_rwlock_unlock" = yes && + test "$ac_cv_func_pthread_rwlock_tryrdlock" = yes && + test "$ac_cv_func_pthread_rwlock_trywrlock" = yes && + test "$ac_cv_func_pthread_rwlockattr_init" = yes && + test "$ac_cv_func_pthread_rwlockattr_destroy" = yes && + test "$ac_cv_func_pthread_rwlockattr_setpshared" = yes; then + AC_DEFINE(ACE_HAS_PTHREADS_UNIX98_EXT)dnl + fi dnl Unix98 pthreads extensions + dnl Check if platform has thread_self() rather than pthread_self() ACE_CHECK_FUNC(pthread_self, pthread.h, dnl , |