mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
Reported by Daniel Richard G. <skunk@iskunk.org>. * modules/lock-tests (configure.ac): Test for <semaphore.h>. * tests/test-lock.c (USE_SEMAPHORE): Don't set if <semaphore.h> does not exist.
18 lines
333 B
Plaintext
18 lines
333 B
Plaintext
Files:
|
|
tests/test-rwlock1.c
|
|
tests/test-lock.c
|
|
|
|
Depends-on:
|
|
thread
|
|
usleep
|
|
yield
|
|
|
|
configure.ac:
|
|
AC_CHECK_HEADERS_ONCE([semaphore.h])
|
|
|
|
Makefile.am:
|
|
TESTS += test-rwlock1 test-lock
|
|
check_PROGRAMS += test-rwlock1 test-lock
|
|
test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
|
|
test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
|