1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/lock-tests
Bruno Haible 6361efe6e2 lock tests: Fix build failure on z/OS.
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.
2017-02-20 22:34:24 +01:00

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@