diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-11-10 02:55:16 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-11-10 02:55:16 +0000 |
commit | d5d88b7cfc5cbdf11708229d839ea4f4affba039 (patch) | |
tree | e522458058964f14d76b29b87928e33d77ea3fb1 /configure.in | |
parent | 7c5423b11871f5851c9fa43e3c943c3cd10371af (diff) | |
download | ATCD-d5d88b7cfc5cbdf11708229d839ea4f4affba039.tar.gz |
*** empty log message ***
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 1bac581d33e..7b57ec0d20b 100644 --- a/configure.in +++ b/configure.in @@ -3957,8 +3957,6 @@ dnl Check for POSIX Semaphore functions dnl We only check for a few of them since some platforms don't have these. AC_CHECK_FUNC(sem_init,,) dnl AC_CHECK_FUNC(sem_destroy,,) dnl -AC_CHECK_FUNC(sem_open,,) dnl -AC_CHECK_FUNC(sem_close,,) dnl dnl We only enable POSIX semaphores if we are not using UNIX International dnl threads. Enabling POSIX semaphores on Solaris seems to cause problems @@ -3969,6 +3967,9 @@ if test "$ac_cv_func_sem_init" = yes && test "$ace_has_sthreads" != yes; then AC_DEFINE(ACE_HAS_POSIX_SEM) + AC_CHECK_FUNC(sem_open,,) dnl + AC_CHECK_FUNC(sem_close,,) dnl + if test "$ac_cv_func_sem_open" != yes || test "$ac_cv_func_sem_close" != yes; then AC_DEFINE(ACE_LACKS_NAMED_POSIX_SEM) |