* modules/pthread-mutex-tests (Files): Add m4/semaphore.m4.
(configure.ac): Check for semaphore.h. Require gl_SEMAPHORE.
* modules/pthread-rwlock-tests (Files): Add m4/semaphore.m4.
(configure.ac): Check for semaphore.h. Require gl_SEMAPHORE.
+2024-06-03 Bruno Haible <bruno@clisp.org>
+
+ pthread-mutex, pthread-rwlock: Fix a compilation error.
+ * modules/pthread-mutex-tests (Files): Add m4/semaphore.m4.
+ (configure.ac): Check for semaphore.h. Require gl_SEMAPHORE.
+ * modules/pthread-rwlock-tests (Files): Add m4/semaphore.m4.
+ (configure.ac): Check for semaphore.h. Require gl_SEMAPHORE.
+
2024-06-02 Bruno Haible <bruno@clisp.org>
c-strtod, c-strtof, c-strtold: Fix link error on AIX.
tests/test-pthread-mutex.c
tests/atomic-int-posix.h
tests/macros.h
+m4/semaphore.m4
Depends-on:
pthread-thread
random
configure.ac:
+AC_CHECK_HEADERS_ONCE([semaphore.h])
+AC_REQUIRE([gl_SEMAPHORE])
Makefile.am:
TESTS += test-pthread-mutex
tests/test-pthread-rwlock.c
tests/atomic-int-posix.h
tests/macros.h
+m4/semaphore.m4
Depends-on:
pthread-thread
random
configure.ac:
+AC_CHECK_HEADERS_ONCE([semaphore.h])
+AC_REQUIRE([gl_SEMAPHORE])
Makefile.am:
TESTS += test-pthread-rwlock