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:
@@ -2,6 +2,7 @@ Files:
|
||||
tests/test-pthread-mutex.c
|
||||
tests/atomic-int-posix.h
|
||||
tests/macros.h
|
||||
m4/semaphore.m4
|
||||
|
||||
Depends-on:
|
||||
pthread-thread
|
||||
@@ -9,6 +10,8 @@ sched_yield
|
||||
random
|
||||
|
||||
configure.ac:
|
||||
AC_CHECK_HEADERS_ONCE([semaphore.h])
|
||||
AC_REQUIRE([gl_SEMAPHORE])
|
||||
|
||||
Makefile.am:
|
||||
TESTS += test-pthread-mutex
|
||||
|
Reference in New Issue
Block a user