12 AC_CHECK_HEADERS_ONCE([semaphore.h])
15 TESTS += test-rwlock1 test-lock test-once1 test-once2
16 check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2
17 test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
18 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
19 test_once1_SOURCES = test-once.c
20 test_once1_LDADD = $(LDADD) @LIBTHREAD@
21 test_once2_SOURCES = test-once.c
22 test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@