mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
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.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
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 Collin Funk <collin.funk1@gmail.com>
|
2024-06-02 Collin Funk <collin.funk1@gmail.com>
|
||||||
|
|
||||||
gnulib-tool.py: Refactor duplicated regular expressions.
|
gnulib-tool.py: Refactor duplicated regular expressions.
|
||||||
|
@@ -2,6 +2,7 @@ Files:
|
|||||||
tests/test-pthread-mutex.c
|
tests/test-pthread-mutex.c
|
||||||
tests/atomic-int-posix.h
|
tests/atomic-int-posix.h
|
||||||
tests/macros.h
|
tests/macros.h
|
||||||
|
m4/semaphore.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
pthread-thread
|
pthread-thread
|
||||||
@@ -9,6 +10,8 @@ sched_yield
|
|||||||
random
|
random
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
AC_CHECK_HEADERS_ONCE([semaphore.h])
|
||||||
|
AC_REQUIRE([gl_SEMAPHORE])
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
TESTS += test-pthread-mutex
|
TESTS += test-pthread-mutex
|
||||||
|
@@ -2,6 +2,7 @@ Files:
|
|||||||
tests/test-pthread-rwlock.c
|
tests/test-pthread-rwlock.c
|
||||||
tests/atomic-int-posix.h
|
tests/atomic-int-posix.h
|
||||||
tests/macros.h
|
tests/macros.h
|
||||||
|
m4/semaphore.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
pthread-thread
|
pthread-thread
|
||||||
@@ -10,6 +11,8 @@ sched_yield
|
|||||||
random
|
random
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
AC_CHECK_HEADERS_ONCE([semaphore.h])
|
||||||
|
AC_REQUIRE([gl_SEMAPHORE])
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
TESTS += test-pthread-rwlock
|
TESTS += test-pthread-rwlock
|
||||||
|
Reference in New Issue
Block a user