Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / lock-tests
blob31d627da2a8110fd5e4ea28a53f4c360a6a85dbb
1 Files:
2 tests/test-rwlock1.c
3 tests/test-lock.c
4 tests/test-once.c
5 tests/atomic-int-gnulib.h
6 m4/semaphore.m4
8 Depends-on:
9 thread
10 stdint
11 usleep
12 yield
14 configure.ac:
15 AC_CHECK_HEADERS_ONCE([semaphore.h])
16 AC_CHECK_DECLS_ONCE([alarm])
17 AC_REQUIRE([gl_SEMAPHORE])
19 Makefile.am:
20 TESTS += test-rwlock1 test-lock test-once1 test-once2
21 check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2
22 test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
23 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@
24 test_once1_SOURCES = test-once.c
25 test_once1_LDADD = $(LDADD) @LIBTHREAD@
26 test_once2_SOURCES = test-once.c
27 test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@