* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
[gnulib.git] / modules / tls-tests
1 Files:
2 tests/test-tls.c
3
4 Depends-on:
5
6 configure.ac:
7 dnl Checks for special libraries for the tests/test-tls test.
8 dnl On some systems, sched_yield is in librt, rather than in libpthread.
9 LIBSCHED=
10 if test $gl_threads_api = posix; then
11   AC_CHECK_LIB(rt, sched_yield, [LIBSCHED=-lrt])
12 fi
13 AC_SUBST([LIBSCHED])
14
15 Makefile.am:
16 TESTS += test-tls$(EXEEXT)
17 check_PROGRAMS += test-tls
18 test_tls_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)
19