diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-23 17:17:09 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-23 18:12:39 +0000 |
commit | 92b47a321e14f98c524f6e67e7ecabad5afa7886 (patch) | |
tree | 10cdaf5fed7b640620d001b92c0ed8aef9195a29 /gcc | |
parent | 183ae52b226898cc34aa51d4153cf0c006212a8a (diff) | |
download | gcc-92b47a321e14f98c524f6e67e7ecabad5afa7886.zip gcc-92b47a321e14f98c524f6e67e7ecabad5afa7886.tar.gz gcc-92b47a321e14f98c524f6e67e7ecabad5afa7886.tar.bz2 |
libstdc++: Add configure checks for semaphores
This moves the checks for POSIX semaphores to configure time. As well as
requiring <semaphore.h> and SEM_VALUE_MAX, we also require the
sem_timedwait function. That was only optional in POSIX 2001 (and is
absent on Darwin).
libstdc++-v3/ChangeLog:
* acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/semaphore_base.h (_GLIBCXX_HAVE_POSIX_SEMAPHORE):
Check autoconf macro instead of defining it here.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions